Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Node_Microservices_-_The_Definitive_Guide.pdf
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Ivan Jovanovic
May 10, 2018
Technology
370
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Node_Microservices_-_The_Definitive_Guide.pdf
Ivan Jovanovic
May 10, 2018
Transcript
38 slides
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
More Decks by Ivan Jovanovic
See All by Ivan Jovanovic
Micro Frontends - A microservice approach to the modern web - Oredev 2019
ivanjov
0
120
Micro Frontends - A microservice approach to the modern web - O'Reilly Software Architecture Berlin 2019
ivanjov
0
93
React State - The Good, the Bad and the Ugly - ArmadaJS
ivanjov
0
140
Thinking Reactive in JavaScript - Sphere.it JS Krakow
ivanjov
0
91
Micro Frontends - A microservice approach to the modern web - PHPSrbija
ivanjov
0
230
You don't know Promises - IT Konekt April 2019
ivanjov
1
88
Micro Frontends - A microservice approach to the modern web - Codemotion Rome 2019
ivanjov
0
360
Mikro Frontendi - Uvod - Novi Sad JS
ivanjov
0
190
Software engineer marketing done right – career tips from my experience.
ivanjov
0
62
Other Decks in Technology
See All in Technology
落とし穴にハマってわかった 開発生産性を測るときに気をつけたいこと
munakata
3
420
「任されビリティ」で引き受けて「よしなりてぃ」に頼らず任せる / Accept tasks with "makasarebility" and hand them over without relying on "yoshinarily"
pauli
1
810
高品質と高スピードを支える品質のシフトレフトのアプローチ
goyoki
4
1.7k
re:Inventを楽しむために、 1日1つ「これが楽しみ」を決めよう
beli68
0
120
業務の傍らで進める改善ループエンジニアリング
bengo4com
1
200
AWS Client VPNの設定でハマったポイントとその過程での気づき
amarelo_n24
1
400
メール到達性を支える、リンク先URLのドメイン評価の扱い方
wind111
0
170
信頼性を犠牲にせず、PR マージからデプロイまで人の介入を完全にゼロにするまでの道のり
knwoop
2
720
農家は秘伝のタレを知らない - NOBODY KNOWS THE HIDDEN SOURCE - Kaggriculture 3rd Place Solution
masspeaks
2
530
おうち環境でも「なるべく止めたくない!」 ― おうち環境の機器冗長化の理想と現実
yuutosi
1
610
CloudTrail を推したい
kazzpapa3
1
140
市販IoT機器や自作IoT機器とHomeAssistantを駆使して家の電気代をできる限り見える化する方法の考案
harutiro
0
390
Featured
See All Featured
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
640
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
203
77k
New Earth Scene 8
popppiees
5
2.9k
So, you think you're a good person
axbom
PRO
2
2.3k
Building an army of robots
kneath
307
47k
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
610
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
3.1k
The Curse of the Amulet
leimatthew05
4
17k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
33
5.8k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
Building a Scalable Design System with Sketch
lauravandoore
464
34k
Building Adaptive Systems
keathley
44
3.3k