# When Do I scale?

**URL:** <https://meta.discourse.org/t/when-do-i-scale/51680>\
**Category:** Self-hosting\
**Tags:** hosting\
**Created:** [October 18, 2016, 10:05am UTC](https://meta.discourse.org/t/when-do-i-scale/51680 "2016-10-18T10:05:20Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Olawale](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/olawale/32/120980_2.png) [@Olawale](https://meta.discourse.org/u/Olawale)\
**Post date:** [October 18, 2016, 10:05am UTC](https://meta.discourse.org/t/when-do-i-scale/51680/1 "2016-10-18T10:05:20Z")

</div>

Top top job!  
This is no mean feat considering this is my fifth attempt at creating a community for my followers.  
Dabbling with Social Engine (Twice) Vbulletin and Burning Boards!  
Finally, I can call this home.  
So, I spin this server config:

Memory: 1224 MB  
Storage: 25 GB  
Transfer/Bandwith: 1000 Gb

I currently unveil and within 2 days 16 users.  
Now, with your experience, when do you think I should scale and add to the config above?  
When I reach 200 users? 1,000 users? Any figure that seems reasonable to you with experince.  
Note, I do not have any plugin installed for now, this is just straight out of the box/docker 😃

Thanks!

---

<div class="post-metadata">

**Author:** ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)\
**Post date:** [October 18, 2016, 10:42am UTC](https://meta.discourse.org/t/when-do-i-scale/51680/2 "2016-10-18T10:42:35Z")

</div>

You should scale when you feel like your Discourse has become slower. You could have 20 ultra active users or 1000 almost inactive users and your load would be completely different.

---

<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:** [October 18, 2016, 7:32pm UTC](https://meta.discourse.org/t/when-do-i-scale/51680/3 "2016-10-18T19:32:11Z")

</div>

When you are starting to run out of one or more of your server resources:

- CPU (load)
- RAM (swapping)
- Storage space

And it really depends on your traffic. Even the smallest supported server configuration can serve loads of traffic that is not logged in. I think I had something like 200+ concurrent guests on my site running on a 10$ Digital Ocean box.

---

<div class="post-metadata">

**Author:** ![SouperC](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/souperc/32/62875_2.png) [@SouperC](https://meta.discourse.org/u/SouperC)\
**Post date:** [October 18, 2016, 8:20pm UTC](https://meta.discourse.org/t/when-do-i-scale/51680/4 "2016-10-18T20:20:24Z")

</div>

Long time SocialEngine user here too. What drove you away from it?

Performance wise, if you can, start with 2GB of memory and focus on building your community. As ljipp said, it can vary wildly not only with the number of users on your site, but what exactly they are doing. New posts, reading, searching all take different kinds of resources.

The standard docker installer has some nginx magic that shows you response times when you are signed in as an admin.

You could install a web based performance monitoring/logging tool on your server, but that is another application that you need to monitor, check for updates etc.

If you want to offload the payload a little, you can setup an S3 container for attachments and setup cloudflare to cache static assets. Basically the same as what you would do with socialengine to perk it up a little, reduce the requests going back to your own box for objects and deliver them to your users from resources closer to them. For an extra speed boost, turn on SSL + HTTP2 in cloudflare, it appears to work without issue with Discourse.

In the absence of a web driven tool, there are some things you can do with the command line:

> **[24 Best Command Line Performance Monitoring Tools for Linux](https://www.tecmint.com/command-line-tools-to-monitor-linux-performance/)**
>
> We have compiled a list of the top 24 command-line monitoring tools to track CPU usage, memory usage, disk usage, network traffic, and other important metrics.

---

<div class="post-metadata">

**Author:** ![Olawale](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/olawale/32/120980_2.png) [@Olawale](https://meta.discourse.org/u/Olawale)\
**Post date:** [October 18, 2016, 10:29pm UTC](https://meta.discourse.org/t/when-do-i-scale/51680/5 "2016-10-18T22:29:26Z")

</div>

Thanks so much!  
Will surely give it a look!

---

<div class="post-metadata">

**Author:** ![Olawale](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/olawale/32/120980_2.png) [@Olawale](https://meta.discourse.org/u/Olawale)\
**Post date:** [October 21, 2016, 3:21pm UTC](https://meta.discourse.org/t/when-do-i-scale/51680/6 "2016-10-21T15:21:08Z")

</div>

> [@SouperC](#):
>
> Long time SocialEngine user here too. What drove you away from it?

James, it was maintenance and basically HireExperts…lol

The cost of all those features and plugins were driving me crazy…however looking back, maybe I should have gone bare metal 😁

> [@SouperC](#):
>
> If you want to offload the payload a little, you can setup an S3 container for attachments and setup cloudflare to cache static assets.

I will definetely look into this!  
Thanks!!!

> [@ljpp](#):
>
> And it really depends on your traffic. Even the smallest supported server configuration can serve loads of traffic that is not logged in. I think I had something like 200+ concurrent guests on my site running on a 10$ Digital Ocean box.

Thanks @ljpp…noted.

---

<div class="post-metadata">

**Author:** ![SouperC](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/souperc/32/62875_2.png) [@SouperC](https://meta.discourse.org/u/SouperC)\
**Post date:** [October 21, 2016, 4:14pm UTC](https://meta.discourse.org/t/when-do-i-scale/51680/7 "2016-10-21T16:14:56Z")

</div>

> [@Olawale](#):
>
> James, it was maintenance and basically HireExperts…lol
> 
> The cost of all those features and plugins were driving me crazy…however looking back, maybe I should have gone bare metal 😁

Yeah the cost wouldn’t be so bad if they weren’t so damn buggy. All of the “big” 3rd party developers in that ecosystem ship crappy code, and people keep making excuses for it. They ship more and more plugins that don’t really add value beyond (features) that are broken half the time anyway. Most of my work as been with SEAO. I’ve bugs that go back months with them.
