~/talk

Divide and Conquer – Microservices with Node.js

TalkinGermanat International PHP Conference Spring 2017 · 2017-05-29..06-02· [nodejs, microservices]
slides:none on file

Shows how Node.js can be used for microservices by building an Express HTTP/MVC article service with a model and database, using TypeScript for types, npm/yarn for package management, Jasmine and Frisby for tests, remote logging to a collector, and Docker for container deployment. Presents swapping the transport layer to Seneca (command/pattern patterns over TCP or message queues) for asynchronous communication, uses PM2 to run multiple Node worker processes, and notes the operational costs such as added complexity and the need for clustered databases as traffic grows.

AI-written summary · about

  1. 0:00Node.js microservices
  2. 1:10Microservices basics
  3. 2:37When to use microservices
  4. 4:47Node.js advantages
  5. 6:13Webshop example
  6. 8:44MVC microservice
  7. 11:40Database coupling
  8. 13:26npm and yarn
  9. 13:48Express HTTP
  10. 16:35Simple structure
  11. 18:25Code conventions
  12. 20:08TypeScript structure
  13. 21:38Modeling and DB access
  14. 24:07Async with Promises
  15. 25:51Error handling
  16. 27:57Testing microservices
  17. 31:26Scaling Node.js
  18. 34:01Docker for Node.js
  19. 35:48API Gateway
  20. 36:30Seneca communication
  21. 42:19Seneca with Express
  22. 44:28Summary
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.