building scalable micro-services with nodejs
TRANSCRIPT
Server side javascript
Makes it great for IO bound tasks
Single threaded
Event driven
Best for asynchronous things
What is a Micro-Service?
Separate monolithic functionality into smaller parts.
MY AWESOME MONOLITH
git
git git gitgit
svn? git git
Design Pattern
Then distribute those parts in an individually scalable fashion,
behind an API Facade.
service
API Facade
service serviceservice service serviceservice
Room Available
?
Monolithic API
Payment
3rd party
3rd party
Translation
3rd party
Client request Server response
Room Available?
API Facade
Payment Translation
3rd party
3rd party
3rd party
Client request Server response
Not everything can / should be microtized
Lower level design problems will be multiplied
across codebases