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
Scaling event driven systems: Node.js and GraphQL
Search
Bogdan Nedelcu
May 31, 2020
Programming
0
460
Scaling event driven systems: Node.js and GraphQL
Bogdan Nedelcu
May 31, 2020
Tweet
Share
More Decks by Bogdan Nedelcu
See All by Bogdan Nedelcu
Behind GraphQL: A first principles approach
bogdanned
0
460
Graphql on production with AWS
bogdanned
0
510
PiDee Pitch
bogdanned
1
490
Moving a production API from REST & Microservices to GraphQL
bogdanned
0
500
Other Decks in Programming
See All in Programming
Rethinking API Platform Filters
vinceamstoutz
0
2.7k
Goの型安全性で実現する複数プロダクトの権限管理
ishikawa_pro
2
1.4k
Smarter Angular mit Transformers.js & Prompt API
christianliebel
PRO
1
100
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
1.1k
20260315 AWSなんもわからん🥲
chiilog
2
180
Everything Claude Code OSS詳細 — 5層構造の中身と導入方法
targe
0
160
PHPで TLSのプロトコルを実装してみる
higaki_program
0
540
へんな働き方
yusukebe
6
2.9k
AI Assistants for Your Angular Solutions
manfredsteyer
PRO
0
160
最初からAWS CDKで技術検証してもいいんじゃない?
akihisaikeda
4
180
Tamach-sre-3_ANDPAD-shimaison93
mane12yurks38
0
170
AI 開発合宿を通して得た学び
niftycorp
PRO
0
180
Featured
See All Featured
AI Search: Where Are We & What Can We Do About It?
aleyda
0
7.2k
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.1k
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.2k
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
500
Designing Powerful Visuals for Engaging Learning
tmiket
0
300
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
320
Embracing the Ebb and Flow
colly
88
5k
Building Applications with DynamoDB
mza
96
7k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.2k
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.4k
First, design no harm
axbom
PRO
2
1.1k
How GitHub (no longer) Works
holman
316
150k
Transcript
@bogdanned Bogdan Nedelcu 1 Scaling event driven systems: Node.js and
GraphQL Principal Software Engineer Node.js Global Summit 05.31.2020
@bogdanned Once upon a time there was ... 2
@bogdanned … a monolith 3
@bogdanned … split into microservices 4
@bogdanned … choreographed by events 5
@bogdanned Event driven designs are focused on system behaviour rather
than structure. 6
@bogdanned Node.js ... … an asynchronous event-driven runtime 7
@bogdanned How does Node scales? 8
@bogdanned Requirements - performant - cost effective - reliable, fail
safe 9
@bogdanned Node performs well when the amount of CPU work
per request is relatively “small”. 10
@bogdanned Scale Horizontally 11
@bogdanned Running more instances of a non performant app is
not cost effective. 12
@bogdanned Scale Vertically 13
@bogdanned What about … building apps that leverage the hardware
more? 14
@bogdanned Node inherits the Event Loop model that made Javascript
successful in the browser. 15
@bogdanned Worker threads 16
@bogdanned 17
@bogdanned Can I use worker threads for everything? 18
@bogdanned Spawning workers is expensive if done frequently. 19
@bogdanned How can I use this with GraphQL? 20
@bogdanned GraphQL subscriptions: - server: push data to client -
clients: listen to real time messages 21
@bogdanned 22
@bogdanned In the real world ... 23
@bogdanned 24
@bogdanned Demo 25
@bogdanned 26
@bogdanned Future work - deployment to cloud - add performance
hooks - set up profiling 27
@bogdanned Summing Up - node is a perfect fit for
event driven systems - worker threads improve performance - easily go fullstack with GraphQL 28
@bogdanned thank @you 29
@bogdanned Bogdan Nedelcu Entrepreneurial software engineer with a proven track
record across large IT projects within the finance and construction industry. 30