Node.js

Julián Duque

Engineer @ NodeSource

Developer and Educator

@julian_duque

Microservices

Microservices

  • needs to run on it's own process
  • independently deployable
  • can be written in any language
  • communicates with other services through lightweight channels (http, protobuf, mq)
  • are organized around boundary (ui, logistics, billing)
  • are easy to replace

Services are small in size, messaging enabled, bounded by contexts, autonomously developed, independently deployable, decentralized and built and released with automated processes.

Nadareishvili, I., Mitra, R., McLarty, M., Amundsen, M., Microservice Architecture: Aligning Principles, Practices, and Culture, O’Reilly 2016

Unix Philosophy

Do one thing and do it well

Monoliths and Microservices

Serverless

Functions as a Service

tl;dr

there is servers ;)

But, how to write them in Node.js?

 

  • express
  • seneca
  • hydra
  • micro

 

why not pure `http`?

Let's do some (live) coding!

Gracias

Node.js Microservices

By Julián Duque

Node.js Microservices

  • 1,359