Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Node Microservices Using Hydra

Node Microservices Using Hydra

My talk at EmpireNode 2016


Carlos Justiniano

November 07, 2016

More Decks by Carlos Justiniano

Other Decks in Technology


  1. Node Microservices Using Hydra

  2. Carlos Justiniano • Chief Architect at Flywheel Sports • Long

    standing interest in distributed computing • 2005 Guinness World Record involving Distributed Computation
 - worlds largest distributed chess computer
 - a network of 2,070 computers across 56 countries • @cjus on twitter and github
  3. None
  4. We will see demos

  5. We will see code

  6. …we might even see some working code!

  7. … but hopefully we'll have some fun along the way!

  8. Large applications power businesses

  9. Monolithic vs Microservice

  10. None
  11. None
  12. None
  13. “A process which is dedicated to doing a kind of

    thing really well” microservices?
  14. Separation anxieties

  15. No shortage of solutions, yay!?

  16. Our microservice goals • Small and highly maintainable 

    • Reliable, Easy to build • Easy to deploy and scale
  17. Hydra A NodeJS light-weight microservices library built on Redis

  18. Hydra features • Automated health and presence • Automated service

    discovery • Inter-service (P2P) communication with support for socket messaging and RESTful interfaces • Built-in load balancing and routing • Self registration with near zero configuration • Built-in job queues • Built on Node using native ES6 • Great with Docker
  19. … and we organized it into a single, light-weight package

  20. It’s demo time y’all! “Finally! Some code”

  21. None
  22. None
  23. None
  24. We’re ready for another demo y’all!

  25. Hydra recap

  26. “You can’t get this in stores man!” – Emmanuel Goldstein

  27. Hydra is now an
 open source project! github.com/flywheelsports

  28. Contact Info: @cjus on github & twitter http://cjus.me