Jetrelay: A high-performance ATproto relay in 500 LOC
16 points
4 months ago
| 3 comments
| asayers.com
| HN
phillipseamore
4 months ago
[-]
Great read and interesting implementation. I'm hoping for more like this from Alex in the future.
reply
tedunangst
4 months ago
[-]
Unclear what makes this an atproto relay and not a websocket relay.
reply
asayers
4 months ago
[-]
The only ATproto-specific part is how clients specify their starting position. They give a timestamp, which refers specifically to the `time_us` field in the messages, which I guess must be an ATproto thing. If jetrelay supported filtering, that would be ATproto-specific too. But you’re right: if you removed backfill support there’d be nothing ATproto- or even websocket-specific about it.
reply
remram
4 months ago
[-]
JetStream? They literally took the name of another CNCF message-queuing project? https://docs.nats.io/nats-concepts/jetstream
reply
wallyqs
4 months ago
[-]
Bluesky's project name is 'Jetstream' and NATS.io persistence engine is `JetStream` (camel case), which can be confusing but name not exactly the same.

- NATS JetStream docs: https://docs.nats.io/nats-concepts/jetstream

- Bluesky's 'Introducing Jetstream': https://docs.bsky.app/blog/jetstream

reply