4 ms·
Mastodon takes about the same amount of usage as any rails app. For a small instance (less then 20 active users) I generally recommend 1GB of RAM and 2 CPUs. t
by nightpool 7y ago
Mastodon takes about the same amount of usage as any rails app. For a small instance (less then 20 active users) I generally recommend 1GB of RAM and 2 CPUs.
the storage requirements can get pretty beefy over time though, so make sure to set up cheap block storage.
- codewiz 7y agoWhy 2 CPUs? Isn't the Ruby interpreter single-threaded like Python and JavaScript?
- nightpool 7y agoAn introduction to forking web servers and multi-process concurrency is outside the scope of this comment thread, but the general idea is that you can run multiple processes per server, and each process can handle connections independently without needing to handle concurrency itself. Threading is only one way of achieving concurrency