Scalability with Pm2 or Docker?

Asked

Viewed 119 times

0

Good afternoon, I have a question about the differences..

I have an architecture Back Nodejs, Redis

Frontend Vuejs

What’s the difference between putting to climb with Docker swarm and putting PM2..

Valew

1 answer

0


Let’s go in pieces

Pm2 is a Process Manager for Ode, basically it helps you monitor the application and get increased availability.

Docker - tool to isolate processes, regardless of language type.

Docker swarm - He’s the guy responsible for running the Docker at several different nodes

The Pm2 is limited only to contesting the nodejs, while the Docker offers a language-independent solution, it isolates the machine’s capabilities and uses the container concept where the build, deploy and Recovery process are much quieter.

Now comparing to Docker swarm, he can take replicate and replicate on multiple hosts, and he’s managing them, Pm2 doesn’t do that with nodejs

we can say that the Docker would be a layer further down your application.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.