Many of the mastodon servers I am seeing pause new registration/break down are at a few thousand members, maybe 8k max. I dont know how Mastodon is implemented, but my intuition is that a well written C++, Rust, or even Java service should be able to handle that many users on a single instance.