# Does the server need 2GB of RAM?

**URL:** <https://meta.discourse.org/t/does-the-server-need-2gb-of-ram/23630>\
**Category:** Self-hosting\
**Tags:** hosting\
**Created:** [2015 年1 月 3 日 09:45 UTC](https://meta.discourse.org/t/does-the-server-need-2gb-of-ram/23630 "2015-01-03T09:45:20Z")\
**Posts on this page:** 1\
**Showing post:** 19

<div class="post-metadata">

作者： ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)\
发布日期： [2015 年7 月 22 日 16:53 UTC](https://meta.discourse.org/t/does-the-server-need-2gb-of-ram/23630/19 "2015-07-22T16:53:05Z")

</div>

> [@gingerling](#):
>
> hosting discourse is by far the most expensive part of our community infrastructure I am told.

Depends a lot on your infrastructure too.

I have a small server farm in my company (7 servers today) and we already have a pretty good PostgreSQL machine, so I told Discourse to use it. That’s pretty good, and if you consider that PostgreSQL 🐘 is the go-to SGBD in most open-source stacks this will happen a lot. And we reuse a 12GB 12CPUs server so thats pretty fast 😄.

Redis is also a default in-memory stuff, but since we doesn’t got a dedicated machine for it yet it’s togheter with Discourse on a pretty standard Ubuntu VM.

We can host a lot of small apps with it, sinatra cruds, go apps, and re-use the nginx to proxy pass to other apps.

---

_[View the full topic](https://meta.discourse.org/t/does-the-server-need-2gb-of-ram/23630)._
