news.volyx.in

We reduced the cost of building Mastodon at Twitter-scale by 100x (blog.redplanetlabs.com)

954 points by tekacs · 1106 days ago · 355 comments on HN

Article summary

The authors built a Mastodon instance from scratch using a new platform called Rama, achieving Twitter-scale performance with 10k lines of code. This is significantly less code than Twitter's original consumer product, which has around 1 million lines of code. The instance is open for anyone to use and demonstrates Rama's capabilities. Rama is a generic platform for building application backends, integrating computation and storage into a coherent model.

Main themes

  • Rama platform
  • Mastodon instance
  • Scalability
  • Code efficiency
  • Trademark concerns
  • Comparison to Twitter
  • Performance evaluation
  • Alternative implementations

What commenters say

  • The article's use of the term 'Mastodon instance' is misleading because it does not run the official Mastodon software.
  • The authors' achievement is impressive, but it is not a direct comparison to Twitter's current architecture, which has many additional features.
  • Rama's ability to build scalable applications with minimal code is a significant innovation.
  • The article's title is misleading and should be changed to reflect the actual content.
  • The comparison to Twitter's original consumer product is valid, as it has a similar scope to the Mastodon instance built with Rama.
  • The instance's performance is impressive, but some features, such as full-text search, are missing or intentionally limited.
  • The choice to implement a Mastodon instance from scratch rather than building on existing performant alternatives was intentional and based on Mastodon's wider usage.
  • The use of the Mastodon trademark in the article's domain name may be infringing on Mastodon's trademark policy.