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
100
Z80をRustで動かすまで年が越せない
koba789
0
67
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
190
Other Decks in Programming
See All in Programming
Git Lint
bkuhlmann
4
760
Build Apps for iOS, Android & Desktop in 100% Kotlin With Compose Multiplatform (mDevCamp 2024)
zsmb
0
470
AWS CDKコントリビュートTIPS / aws-cdk-contribution-tips
gotok365
4
410
SwiftUIで使いやすいToastの作り方 / How to build a Toast system which is easy to use in SwiftUI
lovee
3
180
Compose-View Interop in Practice (mDevCamp 2024)
stewemetal
0
170
From Spring Boot 2 to Spring Boot 3 with Java 21 and Jakarta EE
ivargrimstad
0
680
Java 22 Overview
kishida
1
200
AppRouter Panel Talk
yosuke_furukawa
PRO
1
480
Azure OpenAI Serviceのプロンプトエンジニアリング入門
tomokusaba
3
910
Exploring the Implementation of “t.Run”, “t.Parallel”, and “t.Cleanup”
akarin
1
140
Domain-Driven Transformation
hschwentner
2
1.5k
Milestoner
bkuhlmann
1
420
Featured
See All Featured
Designing Experiences People Love
moore
136
23k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
323
20k
RailsConf 2023
tenderlove
9
560
Music & Morning Musume
bryan
41
5.6k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
245
20k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
242
1.2M
Put a Button on it: Removing Barriers to Going Fast.
kastner
58
3.1k
Pencils Down: Stop Designing & Start Developing
hursman
117
11k
Building Adaptive Systems
keathley
32
1.9k
Building Better People: How to give real-time feedback that sticks.
wjessup
356
18k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
9
1.3k
10 Git Anti Patterns You Should be Aware of
lemiorhan
649
58k
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