Mastodon Relay Bandwidth Consumption: How to Estimate

Mastodon relays forward public posts from one instance to many others. This feature helps small instances discover content without manually following many remote users. However, relays can consume significant bandwidth, especially when an instance subscribes to multiple relays or runs on limited hosting. This article explains how relays use bandwidth and provides a method to … Read more

How to Run Your Own Mastodon Relay With Lite-Relay

Mastodon relays help federate content across instances without requiring direct follows. If you run a small or medium-sized instance, manually following accounts to populate timelines is impractical. A relay subscribes to public posts from connected instances and redistributes them to all peers. This article explains how to deploy Lite-Relay, a lightweight relay server, on your … Read more

How to Set Up FediBuzz Relay for Topic-Based Federation

Mastodon relays broadcast public posts from one instance to many others. A standard relay sends all public content from participating servers. This creates noise if you only want posts about a specific subject like photography or Linux. FediBuzz Relay solves this by filtering posts based on hashtags before distributing them. This article explains how to … Read more

Mastodon Relay Pub-Sub Model: How It Differs From Direct Federation

Mastodon instances can exchange posts using two distinct methods: direct federation and relay-based pub-sub. Direct federation pushes content from one instance to another only when someone follows a user on the remote server. A relay, by contrast, acts as a central hub that broadcasts posts to all subscribed instances, regardless of who follows whom. This … Read more

How to Add Multiple Mastodon Relays Without Duplicating Posts

When you run a small Mastodon server, relays pull in public posts from other instances so your local timeline stays active. Adding multiple relays can flood your timeline with duplicate content if the same post arrives from two different relays. This happens because relays often share overlapping subscriptions and push identical posts to your instance. … Read more

Mastodon Relay Removal: How to Cleanly Unsubscribe From a Relay

When you subscribe to a Mastodon relay, your instance begins pulling in public posts from every server connected to that relay. Over time, a relay can flood your federated timeline with irrelevant or low-quality content, slowing down your server and overwhelming your moderators. Removing the relay cleanly requires more than just toggling a switch — … Read more

How to Detect a Misbehaving Mastodon Relay That Floods Sidekiq

Mastodon relays distribute public posts across instances, but a misconfigured or malicious relay can flood your Sidekiq queue with thousands of jobs per minute. This flood slows down or completely halts federation, local timeline updates, and email delivery. The root cause is usually a relay that sends too many activities or sends them too fast … Read more