News for hackers. Stuff that matters.
Re:Mastodon 3.0 by nightpool on Friday October 04, 2019 @08:47AM (#21157070)
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.

Re:Mastodon 3.0 by codewiz on Friday October 04, 2019 @06:50PM (#21162538)
Why 2 CPUs? Isn't the Ruby interpreter single-threaded like Python and JavaScript?
Re:Mastodon 3.0 by nightpool on Friday October 04, 2019 @08:30PM (#21163047)
An 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