TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Rama 10k LOC Twitter-scale Mastodon implementation

6 pointsby refsetover 1 year ago

1 comment

refsetover 1 year ago
GitHub link: <a href="https:&#x2F;&#x2F;github.com&#x2F;redplanetlabs&#x2F;twitter-scale-mastodon">https:&#x2F;&#x2F;github.com&#x2F;redplanetlabs&#x2F;twitter-scale-mastodon</a><p>Their announcement email reads...<p>&gt; We&#x27;ve open-sourced our Twitter-scale Mastodon implementation on our Github. The implementation is 10k lines of code, which is 100x less code than Twitter wrote to build and scale their original consumer product, which was extremely similar. This repository can easily be adapted to make any Twitter-like social network.<p>&gt; The project README includes instructions for running an instance locally on your machine, which is easy to do. To help with understanding the codebase, we&#x27;ve left many comments throughout the code.<p>&gt; Finally, our blog post from two weeks ago is a deep-dive exploration of how this codebase works<p><a href="https:&#x2F;&#x2F;blog.redplanetlabs.com&#x2F;2023&#x2F;08&#x2F;15&#x2F;how-we-reduced-the-cost-of-building-twitter-at-twitter-scale-by-100x&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;blog.redplanetlabs.com&#x2F;2023&#x2F;08&#x2F;15&#x2F;how-we-reduced-the...</a><p>Previous discussion: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=37137110">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=37137110</a><p>There&#x27;s also this &quot;Introducing Rama&quot; video: <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=jcvxGvzjLHg">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=jcvxGvzjLHg</a>