Hi,
What is the average RAM consumed by a regular process ?
AI-generated summary
The discussion revolves around the server capacity to handle a large number of users simultaneously. The server in question has 30GB of RAM, 2TB of storage, and a 6-core Intel Xeon CPU. The user, Aymane_Shuichi, is planning to revive an old forum with 25,000 users and 6,000 daily unique visits. The old forum script was poorly optimized, consuming 24MB of RAM per process, and experienced performance issues.
Aymane_Shuichi is considering replacing the old script with Discourse. watchmanmonitor and sam reassured him that the server should be able to handle the load, with sam suggesting that even a 4GB instance would be sufficient. sam also highlighted various metrics that define server load, making it difficult to estimate the exact capacity.
I don’t know much about that kind of scale, but I’d bet your storage will be a bottleneck before even 16GB ram was used up.
Tell us more about the setup?
It’s a VPS with 2Tb of space storage. CPU is Intel(R) Xeon(R) CPU E5-2620 v2 @ 2.10GHz, 6 cores
The thing is, I’m reviving an old forum who got crushed because of Facebook. It had 25K users (planning to send them a beautiful Email to get back)
Average visits per day was around 6K unique visits. It used a personal forum script that I wrote from scratch and was using around 24MB / process. I was new to development so it was not well optimized.
There were times when I was pulling my hair because of performance. So it’s still of big worry for me.
Discourse sounds like a perfect replacement for the old fashioned forum I had.
At that scale your server will be ample and over provisioned. A 4GB instance at Digital Ocean would probably be enough.
There are tons of metrics that define load, it is very hard to estimate:
- Number of concurrent sessions
- Total number of posts in forum
- Anon vs Logged in breakdown (anon is WAY cheaper)
- Number of uniquely secured categories
And so on…
Good news for me ! ![]()