What are the best practices for growing a Node.js application using a services architecture?



This content originally appeared on DEV Community and was authored by Valentina

Hello everyone

Hello, everyone

I am currently working on growing a Node.js application and considering moving from a monolithic to a micro service architecture. As the user base and data load continue to expand, I have discovered performance bottlenecks and difficulties in maintaining various portions of the app.

  • What best practices and critical considerations would you recommend for individuals who have used micro services to scale Node.js applications?
  • What are some useful tools or frameworks for managing and discovering micro services?
  • Is REST and gRPC the superior option for inter-service communications?
  • How do you keep data consistent across many services while maintaining performance?
  • What are the best ways for deploying and managing many micro services in production?

I have done some research and looked into tools like Docker and Kubernetes for containerization and orchestration, but I would like to learn how others have successfully deployed these solutions. Any advise, from your own experience are greatly appreciated

Thanks in advance


This content originally appeared on DEV Community and was authored by Valentina