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
Node_Microservices_-_The_Definitive_Guide.pdf
Search
Ivan Jovanovic
May 10, 2018
Technology
0
340
Node_Microservices_-_The_Definitive_Guide.pdf
Ivan Jovanovic
May 10, 2018
Tweet
Share
More Decks by Ivan Jovanovic
See All by Ivan Jovanovic
Micro Frontends - A microservice approach to the modern web - Oredev 2019
ivanjov
0
69
Micro Frontends - A microservice approach to the modern web - O'Reilly Software Architecture Berlin 2019
ivanjov
0
57
React State - The Good, the Bad and the Ugly - ArmadaJS
ivanjov
0
89
Thinking Reactive in JavaScript - Sphere.it JS Krakow
ivanjov
0
48
Micro Frontends - A microservice approach to the modern web - PHPSrbija
ivanjov
0
200
You don't know Promises - IT Konekt April 2019
ivanjov
1
47
Micro Frontends - A microservice approach to the modern web - Codemotion Rome 2019
ivanjov
0
320
Mikro Frontendi - Uvod - Novi Sad JS
ivanjov
0
130
Software engineer marketing done right – career tips from my experience.
ivanjov
0
28
Other Decks in Technology
See All in Technology
軽量DDDはもういらない! スタイルガイド本で OOPの実装パターンを学ぼう
panda_program
29
11k
20241108_CS_LLMMT
shigashiyama
0
240
家具家電付アパートの冷蔵庫をIoT化してみた!
scbc1167
0
140
障害対応指揮の意思決定と情報共有における価値観 / Waroom Meetup #2
arthur1
2
130
ライブラリでしかお目にかかれない珍しい実装
mikanichinose
2
320
Intuneお役立ちツールのご紹介
sukank
3
740
マルチモーダルデータ基盤の課題と観点
neonankiti
1
110
いざ、BSC討伐の旅
nikinusu
1
460
ZOZOTOWNのホーム画面をパーソナライズすることの難しさと裏話を語る
f6wbl6
1
470
Deno+JSRでパッケージを作って公開する
askua
0
110
データの信頼性を支える仕組みと技術
chanyou0311
4
1.6k
AI機能の開発運用のリアルと今後のリアル
akiroom
0
240
Featured
See All Featured
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
46
2.1k
Music & Morning Musume
bryan
46
6.2k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
47
5k
Why Our Code Smells
bkeepers
PRO
334
57k
Become a Pro
speakerdeck
PRO
25
5k
Typedesign – Prime Four
hannesfritz
40
2.4k
What's new in Ruby 2.0
geeforr
343
31k
Side Projects
sachag
452
42k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
356
29k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
48k
The Cost Of JavaScript in 2023
addyosmani
45
6.7k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
Transcript
Node Microservices The Definitive Guide @ivanjov96 https://ivanjov.com
None
Ivan Jovanovic Senior software engineer @ nearForm https://ivanjov.com @ivanjov96 Founder
@ JS Remotely
What are Microservices?
Microservices is an architectural style that structures an application as
a collection of loosely coupled services
None
App DB
App App App
Event bus
Event bus allows publish-subscribe-style communication between components without requiring the
components to explicitly register with one another
Microservice principles • Lightweight protocol between services • Small services,
one job per service • Service independence • Easier to understand, develop and test • Speeds up development • Enables continues delivery and deployment
Why Node.js? • Small and lightweight! • No boilerplate code
• Non-blocking I/O • Speed! • Freedom
None
Tools • Docker - containers • Kubernetes - container orchestration
• Kafka - messaging • Elastic Stack - logging
None
Docker is a tool designed to make it easier to
create, deploy, and run applications using containers
Containers allow developer to package up an application with all
of the parts it needs, such as libraries and other dependencies, and ship it all out as one package
Dockerfile
None
None
None
None
Kubernetes is an open-source system for automating deployment, scaling and
management of containerized applications
None
Service communication
Service communication • Synchronous - HTTP/REST API • Asynchronous -
Messaging
None
None
None
None
Producer
Consumer
None
None
None
None
Conclusion • Use NodeJS! • Use Async communication • Use
containers • Use Kubernetes for container orchestration • Log everything to ElasticSearch
Thank you Blog https://ivanjov.com Twitter @ivanjov96