How to implement microservices [Node.js]?

I am new to this, what is a best approach to implement microservices?

I found fw like seneca but it is little bit confusing…

  • Docker precheck error “code E_FAIL(0x80004005)”
  • How to run Docker and node.js with remote configurations
  • Why doesn't docker accept non-local MAC addresses?
  • Rancher Container Utilization stats stuck on Connecting
  • docker-compose fails when bringing up vagrant box
  • Setting up a remote private Docker registry
  • Is there any tut how to create jwt auth, mongodb and other staff in microservices?

  • Docker: Not able to run any command in images built using dockerfile
  • How to setup jenkins blue ocean under Windows with docker agent
  • YARN DCE can not running
  • Docker in Docker: docker daemon doesn't start (Failed to connect to containerd)
  • docker ps -a not showing my container
  • Calling mongodump wrapped into docker
  • 2 Solutions collect form web for “How to implement microservices [Node.js]?”

    Take a look on Docker.

    With docker-compose you can play with several services with an easy integration without worrying about the IP addresses to connect them.

    Also if you add nginx to your stack, it’s gonna be very easy to scale those services, there are several videos and tutorials that you can lookup to help you get started.

    I’ve heard aboutseneca, but I haven’t used, I think you shouldn’t depend on a specific framework because one of the ideas behind of Microservices is the low coupling.

    To make the jump into the real micro-services world is not trivial. It’s not about plumbing some APIs, but a radical change in architecture thinking that, well, at the beginning will make you a bit uncomfortable (e.g. every service with its own database) 🙂

    The best book I have read so far about micro-services is The Tao of Microservices, by Richard Rodger the author of Seneca himself. It exposes very well the shift from monolithic and object-oriented software towards micro-services.

    I have personally struggled a bit with Seneca because of the average quality of documentation (inconsistencies, etc…). I would rather recommend Hemera, which took its inspiration from the message-pattern approach from Seneca, but is better documented and much more production-ready.

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.