# How to scale discourse?

**URL:** <https://meta.discourse.org/t/how-to-scale-discourse/20299>\
**Category:** Self-hosting\
**Tags:** hosting\
**Created:** [21 Settembre 2014, 7:10pm UTC](https://meta.discourse.org/t/how-to-scale-discourse/20299 "2014-09-21T19:10:39Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![tkiblin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tkiblin/32/121586_2.png) [@tkiblin](https://meta.discourse.org/u/tkiblin)\
**Post date:** [21 Settembre 2014, 7:10pm UTC](https://meta.discourse.org/t/how-to-scale-discourse/20299/1 "2014-09-21T19:10:39Z")

</div>

Folks, I’ve seen the question a few times, but really haven’t seen any good answers…

How does one scale and make Discourse highly available?

Like, how can I setup a PGSQL cluster, and have a bunch of web “front-ends” talking to the cluster, and storing data on a shared NFS for the web front-ends? Using haproxy in front for the load balancers, docker containers for the web side, and a PG cluster on the backend?

Also, does Discourse have the ability to use read nodes and write nodes on the db side like Wordpress, Xenfo, and some others do?

Thanks!  
Tom

---

_[View the full topic](https://meta.discourse.org/t/how-to-scale-discourse/20299)._
