Question

Is kubernetes 20$ adapted to a system with 1000 concurrent users ?

Hi, I would like to know if Kubernetes with 4GB Memory and 2vCPUs can handle 1000 concurent users

Subscribe
Share

Hi, I recommend using a load testing tool like Apache JMeter to determine whether or not a certain Kubernestes hardware configuration can support 1000 concurrent users. Also, this will provide some insight about your overall application architecture because all architectures may not suitable for certain types of workloads. In summary, the rule of thumb here is to always measure instead of guessing what will or will not work in production.

Think different and code well,

-Conrad


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

This will depend on your application and the memory usage per user. I would try with a larger node to ensure stability then use monitoring tools like Prometheus to get a better understanding of your app’s average use cases during high and low traffic times. This should very easily show you what your application demands while not putting the stability of your application at risk. If you find it falls well within the amounts located on the nodes allocatable memory table (linked below) you could consider downsizing your nodes.

https://www.digitalocean.com/docs/kubernetes/#allocatable-memory

It depends the workload:

  • If you’re serving a static webpage, the $5 VPS will be sufficient.
  • If you’re streaming HD videos you’ll probably need a few more machines.