What exactly is holding Discourse from being OK with 512mb RAM?

In particular we would have to move to a threaded web server like puma and re-engineer the job queue to operate in a thread. Due to the “global interpreter lock” you would only get partial parallelization, still, it would probably be good enough for “el cheapo” instance. You would however lose out on a ton of features that make Discourse so reliable.

  • There would no longer be a proper supervisor process that can tear down misbehaving processes (like we have today)
  • There would no longer be clean isolation between the job queue and web server
  • We would need to spend significant engineering effort redesigning the job queue

So yeah, if we had a huge drive to make this happen, we could probably get 512MB … sort of working … for small forums. However, supporting two architectures for deploying the app does worry me, and honestly we don’t have time to work on a project like this.