Discourse はコア数に対してスケーリングしますか?

皆さん、2コア・2GB RAMのVPSでDiscourseサイトを3つ(その1つは開発用!)を問題なく、かつ優れたパフォーマンスで運用しています。しかし、気になった点があります:

  • 1コアのサーバーでは、パフォーマンスが制限されますか?
  • 利用可能な場合、追加のコアはどのプロセスで使用されますか?
  • 追加のコアは、同時に多くのWebリクエストを処理するのに役立ちますか?

小規模サイトや開発用サイトにおいて、1コアにスケールダウンすることは理にかなっていますか?

繁忙なサーバーでのCPU使用率をグラフ化した経験のある方はいますか?

If you’re using multi-site install, my understanding is that the number of sites barely matters, what counts is the number of simultaneously active users on all sites.

Yeah, so performance does scale with cores?

You can serve ~twice as many users at once with double the cores? (assuming I/O can handle it)

No point in having low load dev server on a 2 core server?

(personally not running multi-site … they are all on virtually ‘discrete’ instances).

If you are simply asking if you can downgrade your dev instance, the answer is yes. You likely will never have enough active traffic to warrant the same setup you have for your active production sites.

For comparison purposes, my sandbox/dev site is a 1 core 1 GB RAM box on a 25 GB SSD and when I’m using it, it doesn’t feel sluggish to me at all. Rebuilds can take 15-30 minutes (since it is a full-fledge docker setup – not sure if you used the dev setup or official docker setup, but I imagine it will work with those specs for either).

これは何らかの助けになるかもしれません