Question

Which Server to Choose for MEAN Stack ?

Posted March 25, 2021 480 views
MongoDBCentOSNode.jsPostgreSQLMEAN

I have developed a project on MEAN Stack and I want to deploy it on server, But I am confused which server to use. Will 2 CPU and 2GB RAM be enough to run MongoDB along with nodejs ?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
Submit an Answer
1 answer

Hi there,

I believe that the size you’ve chosen should be a good start.

But I would recommend keeping an eye on your server monitoring graphs via your DigitalOcean Control panel, and if you notice high CPU or RAM utilization, then you should consider an upgrade.

Also, it is always a good idea to perform a stress/load test for your application to see how it performs when there are more concurrent connections, that way you can determine if the size of the server is right for you:

https://www.digitalocean.com/community/tutorials/an-introduction-to-load-testing

Regards,
Bobby

by Brian Boucheron
In this article, we'll talk about the server side of web performance optimization: how fast can your server respond to your user's requests? We'll review the general landscape of load testing, step through a plan to find your server's maximum practical response rate, and discuss some options for open source load testing software.