nostr relay proxy

event page

messagepack would work fine I think. biggest gains would be parsing efficiency and battery life gains. decoding json sucks and is slow. nostrdb has optimizations to skip parsing altogether when it doesn’t need to (stops parsing at the id field if we already have the note). The performance boost there is nice. messagepack or some other format would be another boost. The *ideal* way would be something like flatbuffers, where you could just memcpy the note into your db… but is more complex.

rendered in 1.506496ms