# 扩展和 Sidekiq

**URL:** <https://meta.discourse.org/t/scaling-up-and-sidekiq/286455>\
**Category:** Self-hosting\
**Created:** [2023年十一月23日 16:24 UTC](https://meta.discourse.org/t/scaling-up-and-sidekiq/286455 "2023-11-23T16:24:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ric\_harvey](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ric_harvey/32/341841_2.png) [@Ric\_harvey](https://meta.discourse.org/u/Ric_harvey)\
**Post date:** [2023年十一月23日 16:24 UTC](https://meta.discourse.org/t/scaling-up-and-sidekiq/286455/1 "2023-11-23T16:24:01Z")

</div>

大家好，

如果我理解正确的话，只要配置了共享存储或对象存储，我就可以扩展 Discourse 的应用程序层，这很棒。

我的问题是关于 Sidekiq 的，如果我增加应用程序服务器的数量，我是否需要增加 Sidekiq 服务器的数量，还是只需要保留一个拥有充足资源的服务器？

祝好，

Ric

---

<div class="post-metadata">

**Author:** ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)\
**Post date:** [2023年十一月23日 19:51 UTC](https://meta.discourse.org/t/scaling-up-and-sidekiq/286455/2 "2023-11-23T19:51:52Z")

</div>

默认情况下，每个新的应用服务器都将拥有自己的 Sidekiq，这会为你处理好。

> [@Ric\_harvey](#):
>
> 只要我配置了共享存储或对象存储，我就可以扩展 discourse 的应用层，这很棒。

为了完整起见，你还需要为此配置专用的 PostgreSQL 和 Redis。

---

<div class="post-metadata">

**Author:** ![Ric\_harvey](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ric_harvey/32/341841_2.png) [@Ric\_harvey](https://meta.discourse.org/u/Ric_harvey)\
**Post date:** [2023年十一月23日 20:58 UTC](https://meta.discourse.org/t/scaling-up-and-sidekiq/286455/3 "2023-11-23T20:58:01Z")

</div>

当然！我只是想知道多个 sidekiq 是否会引起问题，但很高兴能扩展两者。

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)\
**Post date:** [2023年十二月23日 20:58 UTC](https://meta.discourse.org/t/scaling-up-and-sidekiq/286455/4 "2023-12-23T20:58:38Z")

</div>

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