How many simultaneous users can this VPS server handle?

How many simultaneous users could this VPS server theoretically handle?

AMD EPYC™ 9634
8 GB DDR5 RAM (ECC)
4 dedicated cores
256 GB NVMe SSD

And that brings me to another important question, does the Discourse Docker container take advantage of all hardware natively or do I have to touch configurations?

1 Like

i think in the app.yml, there are two relevant settings


in the env section,


## How many concurrent web requests are supported? Depends on memory and CPU cores.
## Will be set automatically by bootstrap based on detected CPUs, or you can override
UNICORN_WORKERS: 4

in the params section,

## Set db_shared_buffers to a max of 25% of the total memory.
## will be set automatically by bootstrap based on detected RAM, or you can override
db_shared_buffers: "1GB"

## can improve sorting performance, but adds memory usage per-connection
#db_work_mem: "40MB"


## maximum upload size (default: 10m)
upload_size: 20m

i would be interested to understand the answer to your question in respect to these settings.

1 Like

I don’t think there’s an answer to the question, really - it depends on usage patterns, mostly, and to some extent on history.

There won’t be any hard limit.

Mostly what you will notice is response times increasing as the number of simultaneous users increases. If you have very peaky traffic - like for live sports events - then you’ll need more resources.

As your forum history gets deeper, with more accumulated posts from more accounts, each database operation will get a bit slower and will need more resources. Similarly if you have very very long threads.

So, how many users active in a week, how many active together in a minute, how many tens of thousands of posts, those are the variables you might look at.

I think there are only a few ways to do this

  • spend the maximum amount of money on the best possible machine and hope
  • buy a reasonable machine and keep upsizing it whenever it is shown to be too small
  • ask people who run similar forums what their forum statistics are and what their systems are like.

Edit: see also this recent technical thread

5 Likes