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
Hasura Con'21 Recap - GraphQL subscriptions
Search
Hiroaki KARASAWA
July 08, 2021
Technology
0
500
Hasura Con'21 Recap - GraphQL subscriptions
Hiroaki KARASAWA
July 08, 2021
Tweet
Share
More Decks by Hiroaki KARASAWA
See All by Hiroaki KARASAWA
スタートアップでポストモーテムを4年で200回やって得た学び
karszawa
0
36
DomainException と Result 型で作る型安全なエラーハンドリング
karszawa
0
1.2k
成功する技術選定について
karszawa
2
2.7k
飲食店のインフラサービス “ダイニー” のトラブル対応のすべて
karszawa
0
65
Google Cloud のモニタリング製品を徹底活用してみた
karszawa
0
57
ダウンタイム 30 秒で AlloyDB に移行した話
karszawa
0
510
DMS で AlloyDB に簡単移行!
karszawa
0
62
【現場の本音】App Engine から Cloud Run に移行してみた
karszawa
0
170
cls-hooked による実行コンテキストの保存と利用
karszawa
0
920
Other Decks in Technology
See All in Technology
Introduction to Sansan, inc / Sansan Global Development Center, Inc.
sansan33
PRO
0
2.7k
「現場で活躍するAIエージェント」を実現するチームと開発プロセス
tkikuchi1002
3
350
Amplify Gen2から知るAWS CDK Toolkit Libraryの使い方/How to use the AWS CDK Toolkit Library as known from Amplify Gen2
fossamagna
1
350
Figma Dev Mode MCP Serverを用いたUI開発
zoothezoo
0
230
Transformerを用いたアイテム間の 相互影響を考慮したレコメンドリスト生成
recruitengineers
PRO
2
440
衛星運用をソフトウェアエンジニアに依頼したときにできあがるもの
sankichi92
1
1k
VS CodeとGitHub Copilotで爆速開発!アップデートの波に乗るおさらい会 / Rapid Development with VS Code and GitHub Copilot: Catch the Latest Wave
yamachu
3
460
ビジネス職が分析も担う事業部制組織でのデータ活用の仕組みづくり / Enabling Data Analytics in Business-Led Divisional Organizations
zaimy
1
390
推し書籍📚 / Books and a QA Engineer
ak1210
0
140
CDKコード品質UP!ナイスな自作コンストラクタを作るための便利インターフェース
harukasakihara
2
240
ソフトウェアQAがハードウェアの人になったの
mineo_matsuya
3
200
全部AI、全員Cursor、ドキュメント駆動開発 〜DevinやGeminiも添えて〜
rinchsan
10
5.1k
Featured
See All Featured
Facilitating Awesome Meetings
lara
54
6.5k
Building Better People: How to give real-time feedback that sticks.
wjessup
367
19k
Building Adaptive Systems
keathley
43
2.7k
Automating Front-end Workflow
addyosmani
1370
200k
Build The Right Thing And Hit Your Dates
maggiecrowley
37
2.8k
The Cult of Friendly URLs
andyhume
79
6.5k
Measuring & Analyzing Core Web Vitals
bluesmoon
7
520
Large-scale JavaScript Application Architecture
addyosmani
512
110k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
31
1.3k
KATA
mclloyd
30
14k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
282
13k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
29
1.8k
Transcript
HASURA CON 21 Recap Part 1 karszawa
@karszawa Engineering Lead at dinii Inc. TypeScript, React, GraphQL
Hasura Con 2 1 SQL Server subscriptions: Up and running
Delivering real-time statistics for the 2 021 Olympics
GraphQL subscription Hasura WebSocket query Firestore onSnapshot Hasura onSnapshot
Delivering real-time statistics for the 2 0 2 1 Olympics
The Washington Post non-Hasura AWS Step Function, Amazon Simple Queue Service, Pusher Hasura with subscription Simple & Easy
KD KD
Hasura subscription 1 1 SQL WebSocket multiplexing 🤨 😄 っ
select * 🤨 from orde r where customerId = xxx select * 🤨 from orde r where customerId = yyy select * 😄 from orde r wher e customerId = xxx O R customerId = yyy
KD 1 Cloud Run Hasura 50 10
Cloud SQL PostgreSQL CPU 90 60% 🤔 multiplexing 💡
multiplexing 😔 Cloud Run 80 80 250 WebSocket
WebSocket Cloud Run
Hasura NG 🙅 ⾒ Hasura DB Cloud Run App
Engine Hasura Cloud っ DB GCP
KD 30 🤯 DB Hasura KD subscription 1,2s 30s
1,2s
Hasura 1 1 SQL 1 ⾒ Cloud SQL
PostgreSQL 🎉 subscription 🙅 Hasura Haskell
👋 Hasura multiplexing っ 100 っ 1 っ
MySQL PostgreSQL MySQL