Hardware requirements when not using standalone?

Hi,

I’m having a hard time finding hardware requirements except for the all-in-one standalone version of Discourse running Postgres and Redis on the same machine (and even for the standalone version, the requirements are vague: what do I need 1GB of RAM for? 1 daily active user? 10,000 daily active users?).

Could someone help me evaluate the minimum I need to run Discourse for a community of ~3,000 developers with proper fault tolerance and guaranteed SLAs? Especially:

  • Number of Redis nodes? Cores? RAM? Disk size?
  • Number of Postgres nodes? Cores? RAM? Disk size?
  • Cores / RAM / Disk size for the Discourse node.

Thanks,
Julien.

1 Like

3000 developers doing what? Are they all online at once? Are they each creating 100 posts per day and view 1000 posts each or do they visit every other day and read 5 posts? Are you using CDN? S3 for uploads? The reason that your question isn’t answered anywhere is that it’s to hard to ask your question in a way that it has an answer.

There are guidelines for those settings depending on how much ram you have that get set automatically by Discourse setup. It’s the same for two containers as for one.

Mostly, you start with 2gb or whatever you think you can afford and increase it if you see that you have a problem.

5 Likes

Yes, I recommend starting out simply and scaling as you observe the need.

(For anything except the smallest Discourse instances, I would recommend starting with a CDN setup, though… it does alleviate a fair bit of load and it’s a better experience for your users.)

6 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.