Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
GraphQL in #kbkz_tech
Search
KOBA789
November 27, 2016
Programming
0
340
GraphQL in #kbkz_tech
歌舞伎座.tech #12 でLTした GraphQL に関するスライドです。
↓の方にあると思われる tng23 でやったスライドも見てね。
KOBA789
November 27, 2016
Tweet
Share
More Decks by KOBA789
See All by KOBA789
令和最新版手のひらコンピュータ
koba789
5
1.5k
時の流れが許せない
koba789
0
77
ついに生産が終わったけどZ80でまだまだ遊びたい
koba789
5
4.3k
ISUCONの練習を楽しくたくさんやる方法
koba789
2
1.3k
Z80をRustで動かすまで年が越せない
koba789
0
220
ISUCON練習環境を最も簡単に用意する方法
koba789
2
3.2k
音をアレする
koba789
0
930
メガネとBluetooth Low Energyでお喋りする
koba789
0
1.6k
Rustでon-diskなB+Treeを作ったときの細かな話
koba789
11
1.9k
Other Decks in Programming
See All in Programming
Understanding Kotlin Multiplatform
l2hyunwoo
0
250
Workers を定期実行する方法は一つじゃない
rokuosan
0
140
技術的負債で信頼性が限界だったWordPress運用をShifterで完全復活させた話
rvirus0817
0
250
それ CLI フレームワークがなくてもできるよ / Building CLI Tools Without Frameworks
orgachem
PRO
17
3.7k
QA x AIエコシステム段階構築作戦
osu
0
240
DynamoDBは怖くない!〜テーブル設計の勘所とテスト戦略〜
hyamazaki
0
180
Constant integer division faster than compiler-generated code
herumi
1
160
管你要 trace 什麼、bpftrace 用下去就對了 — COSCUP 2025
shunghsiyu
0
210
CLI ツールを Go ライブラリ として再実装する理由 / Why reimplement a CLI tool as a Go library
ktr_0731
3
960
ZeroETLで始めるDynamoDBとS3の連携
afooooil
0
150
Claude Code で Astro blog を Pages から Workers へ移行してみた
codehex
0
170
Gemini CLIの"強み"を知る! Gemini CLIとClaude Codeを比較してみた!
kotahisafuru
3
920
Featured
See All Featured
Balancing Empowerment & Direction
lara
1
530
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
21
1.4k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
[RailsConf 2023] Rails as a piece of cake
palkan
56
5.7k
Optimising Largest Contentful Paint
csswizardry
37
3.4k
For a Future-Friendly Web
brad_frost
179
9.9k
Building Applications with DynamoDB
mza
95
6.5k
Building Better People: How to give real-time feedback that sticks.
wjessup
367
19k
Stop Working from a Prison Cell
hatefulcrawdad
271
21k
GitHub's CSS Performance
jonrohan
1031
460k
Building Adaptive Systems
keathley
43
2.7k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
29
1.8k
Transcript
None
KOBA789 ࠓஜେֶͰB2 (ͦΖͦΖୀֶ) ࠷ۙΞΠΧπ͓͡͞Μͱͯ͠ੜ͖͍ͯ·͢ લʹGoͰProtocolBufferͬͯ·ͨ͠ JavaScript͕ϝΠϯͰɺRubyRustॻ͘
None
લఏ RESTΫι LTͳͷͰओޠେ͖Ί
͍ͨ͜͠ͱ ͍Ζ͍Ζ͋Δ͕
GraphQL
GraphQL • ΫΤϦ+εΩʔϚͷ༷ • self-documentedͳεΩʔϚ(SwaggerūŬťƀ) • serialization formatJSON • ݁ߏ͍͍ײ͡ͷܕγεςϜ(Unionͱ͔͋Δ)
• Introspection API͕͋Δ • ެࣜͷAPIίϯιʔϧ
{ articles { author { name } } } {
"articles": [ { "author": { "name": "Alice" } }, { "author": { "name": "Bob" } } ] }
None
ݴޠػೳͰॻ͖͍ͨͷͰ
ؾ࣋ͪ • ͔͔ͤͬͩ͘Βde-dupͱ͔΄͍͠ • ݁ہϗετݴޠͰ͋ΔJSͷܕγεςϜ͕ऑ͍ • σʔλιʔεʹSQL DBͱ͔Λ͏ͱ N+1͕͠Εͬͱى͜Δ
GraphQlͷະདྷͷ • ετϦʔϛϯάͱ͔Ͱ͖ΔΑ͏ʹͳΔΒ͍͠ • Server Pushͱ͔ • https://www.youtube.com/watch? v=ViXL0YQnioU