O slideshow foi denunciado.
Utilizamos seu perfil e dados de atividades no LinkedIn para personalizar e exibir anúncios mais relevantes. Altere suas preferências de anúncios quando desejar.

[Srijan Wednesday Webinars] How to Set Up a Node.js Microservices Architecture using Docker

83 visualizações

Publicada em

Microservices architecture application starts faster, which makes developers more productive, and speeds up deployments. But when is the right time to split your services? And how do you do it?

In this session, we will talk about all different use cases where we can think of splitting services and make them independent of one another. We’ll then take a deep dive into Node.js services which can run on different containers and communicate with different data sources. We will take a look at how to deploy on Docker containers running on PM2 instances.

Key Takeaways:

- Configuring and running microservices locally with Docker and Docker Compose
- Splitting services and allowing network communication between them
Managing the Docker network to bind all services together
- Utilizing volumes to mount your code into a container
- Testing the entire set of services with functional, unit and integration tests inside a Docker container
- Debugging a running Docker container
- Enabling services running in different containers to talk to one other like mongo & MySQL with Node app container

Publicada em: Software
  • Seja o primeiro a comentar

  • Seja a primeira pessoa a gostar disto

[Srijan Wednesday Webinars] How to Set Up a Node.js Microservices Architecture using Docker

  1. 1. How to Set Up a Node.js Microservice Architecture Using Docker Wilson Samuel Mathias | JavaScript Developer, Srijan #SrijanWW | @srijan
  2. 2. #SrijanWW | @srijan Agenda: ● Understanding microservices architecture. ● Understanding Docker and Dockerfile. ● Overview of Docker Compose. ● Running NodeJs app in container. ● Debugging NodeJs app. ● Using Pm2 process manager. ● Setting up microservice project with docker compose.
  3. 3. #SrijanWW | @srijan Understanding microservices architecture.
  4. 4. #SrijanWW | @srijan Understanding microservices architecture. ● Scalability ● High Availability ● Resilience
  5. 5. #SrijanWW | @srijan Understanding microservices architecture. Scalability
  6. 6. #SrijanWW | @srijan Understanding microservices architecture. HighAvailability
  7. 7. #SrijanWW | @srijan Understanding microservices architecture. Resilience
  8. 8. #SrijanWW | @srijan Mastering Chaos - A Netflix Guide to Microservices (Youtube) - By Josh Evans
  9. 9. #SrijanWW | @srijan Understanding Docker.
  10. 10. #SrijanWW | @srijan Understanding Docker. ● docker architecture ○ Image ○ Container ○ Volume ○ network
  11. 11. #SrijanWW | @srijan Understanding Docker. Image
  12. 12. #SrijanWW | @srijan Understanding Docker. Container
  13. 13. #SrijanWW | @srijan Understanding Docker. Network
  14. 14. #SrijanWW | @srijan Understanding Docker. Volume
  15. 15. #SrijanWW | @srijan Overview of Docker Compose
  16. 16. #SrijanWW | @srijan Running NodeJs app in container.
  17. 17. #SrijanWW | @srijan Pm2 process manager for Node.js
  18. 18. #SrijanWW | @srijan Debugging Node Js.
  19. 19. #SrijanWW | @srijan Setting up sample microservice project with docker compose.
  20. 20. #SrijanWW | @srijan ?
  21. 21. #SrijanWW | @srijan ❏ https://www.nginx.com/blog/introduction-to-microservices/ ❏ https://www.nginx.com/blog/microservices-at-netflix-architectural-best-practices/ ❏ https://docs.docker.com/compose/ ❏ https://pm2.io ❏ https://microservices.io/ References