# UNICORN\_WORKERS vs UNICORN\_SIDEKIQS, DISCOURSE\_DB\_POOL?

**URL:** <https://meta.discourse.org/t/unicorn-workers-vs-unicorn-sidekiqs-discourse-db-pool/41814>\
**Category:** Self-hosting\
**Created:** [31 במרץ,‏ 2016,‏ 8:32am UTC](https://meta.discourse.org/t/unicorn-workers-vs-unicorn-sidekiqs-discourse-db-pool/41814 "2016-03-31T08:32:04Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [31 במרץ,‏ 2016,‏ 8:59am UTC](https://meta.discourse.org/t/unicorn-workers-vs-unicorn-sidekiqs-discourse-db-pool/41814/2 "2016-03-31T08:59:09Z")

</div>

> [@Caswal\_Parker](#):
>
> UNICORN\_SIDEKIQS

This setting will increase the count of processes running the job queue. Each job queue out of the box runs 5 threads (5 concurrent jobs)

Increasing this to say 8, will mean you can run 40 concurrent background jobs. Which may be useful when you are struggling to clear up a job queue post import.

Keep in mind that at some point too much concurrency hurts you and stuff starts getting slower, so you want to play with this a bit to find the right number.

After you clear your job queue it is very rare to need more than 2 unicorn sidekiqs.

---

_[View the full topic](https://meta.discourse.org/t/unicorn-workers-vs-unicorn-sidekiqs-discourse-db-pool/41814)._
