Inside the edge: how a message crosses every region

Jonah Reyes

Software engineer

7 min read

Engineering

When you call publish, a lot happens in very little time. Here is the path a message takes through Relay.

1. Accept at the nearest edge

The SDK connects to the closest of our edge regions. The message is accepted, validated and given an order within its channel.

2. Fan out

Each region that has subscribers for the channel receives one copy. From there it is delivered to every local connection.

3. Store

In parallel, the message is written to history so late joiners can catch up and search it later.

The result is global fast global delivery.

7 min read

Engineering

All systems normal.

© 2026 Relay Labs, Inc.

All systems normal.

© 2026 Relay Labs, Inc.

All systems normal.

© 2026 Relay Labs, Inc.

Create a free website with Framer, the website builder loved by startups, designers and agencies.