Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Mastodon scaling

    Mastodon
    3
    5
    97
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      alwynispat last edited by

      I’m wondering how’s everyone’s Mastodon server. How many users can a Mastodon running with Cloudron can take.
      I currently have 30 users, about 12 active. The app is eating about 2.5gigs of ram.

      Find me at Mastodon

      jdaviescoates 1 Reply Last reply Reply Quote 0
      • jdaviescoates
        jdaviescoates @alwynispat last edited by jdaviescoates

        @alwynispat said in Mastodon scaling:

        How many users can a Mastodon running with Cloudron can take.

        I'd imagine that'll depend on how much RAM you can throw at it and the settings you've got in your config file, see other posts about scaling Mastodon like e.g.

        https://forum.cloudron.io/post/58558

        I use Cloudron with Gandi & Hetzner

        doodlemania2 1 Reply Last reply Reply Quote 0
        • doodlemania2
          doodlemania2 App Dev @jdaviescoates last edited by

          You'll also want to consider how many runners you have going and if you are attached to an active relay (like mine!) 🙂

          As long as you can keep your queue near zero, you're in good shape!

          A 1 Reply Last reply Reply Quote 2
          • A
            alwynispat @doodlemania2 last edited by

            @doodlemania2 what’s your current setup? If you don’t mind providing.

            Find me at Mastodon

            doodlemania2 1 Reply Last reply Reply Quote 1
            • doodlemania2
              doodlemania2 App Dev @alwynispat last edited by

              @alwynispat sure of course:

              Puma

              export WEB_CONCURRENCY=4 # number of worker processes
              export MAX_THREADS=5 # the number of threads per process

              Streaming API

              export STREAMING_CLUSTER_NUM=2 # number of worker processes

              Sidekiq

              export SIDEKIQ_THREADS=4
              export DB_POOL=25 # must be at least the same as the number of threads

              1 Reply Last reply Reply Quote 2
              • First post
                Last post
              Powered by NodeBB