# Optimizing the number of Unicorns and buffer size

**URL:** <https://meta.discourse.org/t/optimizing-the-number-of-unicorns-and-buffer-size/51514>\
**Category:** Self-hosting\
**Tags:** server-resources\
**Created:** [13 Ottobre 2016, 7:17pm UTC](https://meta.discourse.org/t/optimizing-the-number-of-unicorns-and-buffer-size/51514 "2016-10-13T19:17:16Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![ljpp](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ljpp/32/96506_2.png) [@ljpp](https://meta.discourse.org/u/ljpp)\
**Post date:** [13 Ottobre 2016, 7:17pm UTC](https://meta.discourse.org/t/optimizing-the-number-of-unicorns-and-buffer-size/51514/1 "2016-10-13T19:17:16Z")

</div>

I know that Discourse setup provides sane defaults for most occasions nowadays, but I still want to ask some guidance on optimal settings. It seems that we will get a hosting partner that provides us with the server and what is on the table is this VPS:

- 6x vCore CPUs (Xeons @ 2.40GHz, I beleive)
- 8GB of RAM

My primary goal is to tweak the settings for maximum capability of handling traffic spikes, ie. concurrent users. How would you experts set the number of unicorns and the size of the database buffer?

---

_[View the full topic](https://meta.discourse.org/t/optimizing-the-number-of-unicorns-and-buffer-size/51514)._
