Question

What should I do for handle 50k visitor per day

Posted March 8, 2020 120 views
MongoDBNode.jsScalingApplicationsReact

This is my 1st time to create web-application for 50k visitor per day.
What should I do for handle it.
Please give me some suggestion.

And is droplet able to handle this ?

My website is react
database is mongodb
api is nodejs

Thank you.

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.

×
1 answer

Hi @afumagic3,

The first step would be to set separate droplets for your application’s services such as Database and Application. Additionally, I’ll recommend configuring Redis and using it to take some of the load away as well.

You might want to take a look at the load balancing solution as 1 droplet for your Application, receiving all the traffic might not be able to handle all the connections. I’ll recommend focusing to the load balancing solution for sure and add in a caching of some sorts to help you with your traffic.

Here is some information about DigitalOcean’s LoadBalancers:

https://www.digitalocean.com/products/load-balancer/

Information about the Managed Redis solution can be found here as well:

https://www.digitalocean.com/products/managed-databases-redis/

Regards,
KDSys

Submit an Answer