Add info about mastodon.social (#613)

This commit is contained in:
Eugen Rochko 2018-05-15 19:49:16 +02:00 committed by GitHub
parent 60108e0bb0
commit 4e3e065fd5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 19 additions and 13 deletions

View File

@ -1,16 +1,22 @@
Running Mastodon requires some server resources. If you're wondering how much, you've come to the right place.
Here are some information about what you'll need for running your instance, both with Docker and without.
Resource usage examples
=======================
### With Docker :
Here are examples of hardware setups of some Mastodon instances for your perusal.
| CPU % / info | RAM use / total | Median traffic in | out | Disk Usage | Users | OS | Sidekiq threads | puma params | Hosting provider | URL | Cost Estimate per month |
|-----|-----|-----------------------|-----|--------|-------|----|-----------------|----------------|------------------|-----|------|
| 25% / 2 CPUs 1.8GHz | 2.2 GB / 4 GB | | | | 2900 | Ubuntu 16.04 | 20 threads, DB_POOL=20 | WEB_CONCURRENCY=4, MAX_THREADS=8 | [Digital Ocean](https://www.digitalocean.com) | [mastodon.technology](https://mastodon.technology) | [$5060](https://ashfurrow.com/blog/moving-mastodon-to-digital-ocean/) |
> **Notes:**
>
> - 4x10 threads means 40 threads in total spread across 4 different processes
> - An up-to-date number of users cannot be guaranteed in this document
> - Listed setups may be underutilizing or overutilizing their hardware
### Without Docker :
| CPU % / info | RAM use / total | Median traffic in | out | Disk Usage | Users | OS | Sidekiq params | puma params | Server model / Provider | URL | Cost Estimate per month |
|-----|-----|-----------------------|-----|--------|-------|----|-----------------|----------------|------------------|-----|------|
| 17.3% / 2x2.4Ghz | 1.8 GB / 4 GB | 260kbps | 858kbps | 24 G | 785 | Debian | 35 threads, DB_POOL=35 | WEB_CONCURRENCY=5, MAX_THREADS=15 | [vultr](https://Vultr.com) | [social.wxcafe.net](https://social.wxcafe.net) | |
| 20% / 4x3.40GHz | 4GB | 100Kbps | 1Mbps | 50 g | 1700 | Debian | 8 threads, DB_POOL=10 | MAX_THREADS=5, WEB_CONCURRENCY=4 | VM on [Dedibox LT 2014v2](https://documentation.online.net/fr/dedicated-server/offers/limited/server-dedibox-limited-edition-13816) | [oc.todon.fr](oc.todon.fr) | one quarter of a €30 server |
| 30% / 4x3.1GHz | 2.3 GB / 4 GB | 450 kbps | 650 kbps | 26 GB | 101 | Debian | 15 threads, DB_POOL=20 | MAX_THREADS=5, WEB_CONCURRENCY=4 | Container on [Dedibox LT DEALS 1706.1](https://documentation.online.net/en/dedicated-server/offers/limited/server-dedibox-lt-deals-1706-1) | [7nw.eu](7nw.eu) | 9,59€ per month |
|mastodon.social| |
|-------------------|-|
|Users total|150,000+|
|Users weekly|10,000+|
|Average RPM|11,000+|
|Approx. cost/mo|250€|
|Puma|4x10 threads|
|Sidekiq|4x50 threads|
|Streaming API|2x1 threads|
|Hosting|Hetzner|
|Special notes|4x servers, each with 8-core i7 CPUs, 32GB DDR3 RAM and SSD disks, arranged in a high-availability setup. Sidekiq on a separate machine. PostgreSQL on two separate machines (hot standby). Redis on two separate machines (one volatile for Rails cache).|