Ce diaporama a bien été signalé.
Nous utilisons votre profil LinkedIn et vos données d’activité pour vous proposer des publicités personnalisées et pertinentes. Vous pouvez changer vos préférences de publicités à tout moment.
How to Set Up a Node.js Microservice
Architecture Using Docker
Wilson Samuel Mathias | JavaScript Developer, Srijan
#Srija...
#SrijanWW | @srijan
Agenda:
● Understanding microservices architecture.
● Understanding Docker and Dockerfile.
● Overview ...
#SrijanWW | @srijan
Understanding microservices architecture.
#SrijanWW | @srijan
Understanding microservices architecture.
● Scalability
● High Availability
● Resilience
#SrijanWW | @srijan
Understanding microservices architecture.
Scalability
#SrijanWW | @srijan
Understanding microservices architecture.
HighAvailability
#SrijanWW | @srijan
Understanding microservices architecture.
Resilience
#SrijanWW | @srijan
Mastering Chaos - A Netflix Guide to Microservices (Youtube)
- By Josh Evans
#SrijanWW | @srijan
Understanding Docker.
#SrijanWW | @srijan
Understanding Docker.
● docker architecture
○ Image
○ Container
○ Volume
○ network
#SrijanWW | @srijan
Understanding Docker.
Image
#SrijanWW | @srijan
Understanding Docker.
Container
#SrijanWW | @srijan
Understanding Docker.
Network
#SrijanWW | @srijan
Understanding Docker.
Volume
#SrijanWW | @srijan
Overview of Docker Compose
#SrijanWW | @srijan
Running NodeJs app in container.
#SrijanWW | @srijan
Pm2 process manager for Node.js
#SrijanWW | @srijan
Debugging Node Js.
#SrijanWW | @srijan
Setting up sample microservice project
with docker compose.
#SrijanWW | @srijan
?
#SrijanWW | @srijan
❏ https://www.nginx.com/blog/introduction-to-microservices/
❏ https://www.nginx.com/blog/microservices...
Prochain SlideShare
Chargement dans…5
×

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

79 vues

Publié le

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

Publié dans : Logiciels
  • Soyez le premier à commenter

  • Soyez le premier à aimer ceci

[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

×