Global Feed Post Login
Replying to Avatar semisol

The code looks pretty decent.

CF Workers and D1 are still not optimal for hosting relays, in my opinion. SQLite in general performs poorly compared to local KV-store based solutions, and D1 has its own issues.

And JS is kind of a terrible runtime for an application like a relay, which does a lot of memory allocations.

Also, isn’t the single DO a bottleneck?

Avatar
semisol 6mo ago

And nice that you have composite indexes. Many relays don’t

Reply to this note

Please Login to reply.

Discussion

No replies yet.