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
300
GraphQL in #kbkz_tech
歌舞伎座.tech #12 でLTした GraphQL に関するスライドです。
↓の方にあると思われる tng23 でやったスライドも見てね。
KOBA789
November 27, 2016
Tweet
Share
More Decks by KOBA789
See All by KOBA789
ISUCONの練習を楽しくたくさんやる方法
koba789
0
58
Z80をRustで動かすまで年が越せない
koba789
0
59
ISUCON練習環境を最も簡単に用意する方法
koba789
3
2.7k
音をアレする
koba789
0
700
メガネとBluetooth Low Energyでお喋りする
koba789
0
1.4k
Rustでon-diskなB+Treeを作ったときの細かな話
koba789
11
1.5k
音の出るCPUを作っている途中
koba789
5
4.4k
自宅サーバーでbottlerocketを動かしてk8sクラスタを組む
koba789
0
1.1k
へんなOSを自宅で使う
koba789
0
180
Other Decks in Programming
See All in Programming
Compose-View Interop in Practice (mDevCamp 2024)
stewemetal
0
120
From Spring Boot 2 to Spring Boot 3 with Java 22 and Jakarta EE
ivargrimstad
0
1.1k
educure_カリキュラム生操作マニュアル.pdf
linew_official
0
710
GitHub Copilotのススメ
marcy731
1
190
入門 AWS Amplify Gen2 / Introduction to AWS Amplify Gen2
genkiogasawara
1
330
1BRC--Nerd Sniping the Java Community
gunnarmorling
0
340
Designing for tomorrow's programming workflows
honnibal
PRO
2
120
Zero Waste, Radical Magic, and Italian Graft – Quarkus Efficiency Secrets
hollycummins
0
230
CA.swift19 恋するAIアプリ開発の裏側
oskmr
0
360
What We Can Learn From OSS
inouehi
0
420
冗長なエラーログを削減し、スタックトレースを手に入れる / Reducing Verbose Error Logs and Obtaining Stack Traces
upamune
0
420
R言語の環境構築と基礎 Tokyo.R 112
bob3bob3
0
260
Featured
See All Featured
Debugging Ruby Performance
tmm1
70
11k
4 Signs Your Business is Dying
shpigford
175
21k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
241
1.2M
The Brand Is Dead. Long Live the Brand.
mthomps
49
28k
The Illustrated Children's Guide to Kubernetes
chrisshort
31
46k
GitHub's CSS Performance
jonrohan
1025
450k
Why You Should Never Use an ORM
jnunemaker
PRO
51
8.6k
Art, The Web, and Tiny UX
lynnandtonic
289
19k
The Art of Programming - Codeland 2020
erikaheidi
42
12k
Designing for Performance
lara
601
67k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
2
1.3k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
221
21k
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