Further improvements

Further improvements
Photo by Bozhin Karaivanov / Unsplash

In the past few weeks I've mainly been watching the performance of Astrodon, ensuring the that new infrastructure is sufficient for the usage patterns. In general, everything is running well - the webapp is responsive, the queues process quickly, and with a few exceptions there's little stress on the db.

I've also moved the codebase away from vanilla Mastodon to Mathstodon, a well-maintained fork with support for LaTeX formatting and longer posts. Whilst these features aren't getting much usage, the work did help me validate a build pipeline so I can make further custom changes in the future.

As it stand now, the infrastructure required to run Astrodon is:

  • A frontend load balancer
  • A backend server running:
    • The Mastodon web app
    • The Mastodon streaming backend
    • The Sidekiq task processing queues
  • A Postgres DB
  • A Redis key store
  • An S3 object storage for media and edge-side caching

Next on my list is to restore the Elasticache search capabilities, and to add translation for posts. More on these in the near future!