# 加速独立运行 Discourse 的最佳配置

**URL:** <https://meta.discourse.org/t/best-configurations-for-speeding-up-standalone-discourse/162456>\
**Category:** Self-hosting\
**Tags:** server-resources\
**Created:** [2020 年8 月 30 日 07:39 UTC](https://meta.discourse.org/t/best-configurations-for-speeding-up-standalone-discourse/162456 "2020-08-30T07:39:37Z")\
**Posts on this page:** 1\
**Showing post:** 27

<div class="post-metadata">

**Author:** ![RGJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rgj/32/523185_2.png) [@RGJ](https://meta.discourse.org/u/RGJ)\
**Post date:** [2024 年2 月 14 日 19:27 UTC](https://meta.discourse.org/t/best-configurations-for-speeding-up-standalone-discourse/162456/27 "2024-02-14T19:27:19Z")

</div>

> [@ckshen](#):
>
> 6C/16GB 服务器，并将 `unicorn_workers` 设置为 16

是的，这似乎很高。将您的 unicorn workers 设置在每核 1 到 2 之间。  
对于 6 核，不应超过 12。考虑到您相当大的共享缓冲区和我凭直觉的判断，我会将此设置在 10 左右，以匹配此类服务器规格。

---

_[View the full topic](https://meta.discourse.org/t/best-configurations-for-speeding-up-standalone-discourse/162456)._
