# 关于工人数的建议：核心数 × 2？

**URL:** <https://meta.discourse.org/t/recommendation-for-number-of-workers-cores-x-2/363055>\
**Category:** Self-hosting\
**Created:** [2025年四月22日 14:48 UTC](https://meta.discourse.org/t/recommendation-for-number-of-workers-cores-x-2/363055 "2025-04-22T14:48:20Z")\
**Posts on this page:** 1\
**Showing post:** 20

<div class="post-metadata">

**Author:** ![supermathie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/supermathie/32/507518_2.png) [@supermathie](https://meta.discourse.org/u/supermathie)\
**Post date:** [2025年四月25日 22:18 UTC](https://meta.discourse.org/t/recommendation-for-number-of-workers-cores-x-2/363055/20 "2025-04-25T22:18:15Z")

</div>

我们使用 [https://github.com/prometheus-community/postgres\_exporter，但不确定是否有关于设置它的元指南。](https://github.com/prometheus-community/postgres_exporter%EF%BC%8C%E4%BD%86%E4%B8%8D%E7%A1%AE%E5%AE%9A%E6%98%AF%E5%90%A6%E6%9C%89%E5%85%B3%E4%BA%8E%E8%AE%BE%E7%BD%AE%E5%AE%83%E7%9A%84%E5%85%83%E6%8C%87%E5%8D%97%E3%80%82)

不过，鉴于您似乎已经设置了 Prometheus，看起来您知道自己在做什么。

---

_[View the full topic](https://meta.discourse.org/t/recommendation-for-number-of-workers-cores-x-2/363055)._
