What is Nostr?
ynniv /
npub12ak…6fdh
2024-10-07 15:25:42
in reply to nevent1q…jrr3

ynniv on Nostr: gzip saves space over the wire, but you still have to parse all the bytes. There are ...

gzip saves space over the wire, but you still have to parse all the bytes. There are ways to reduce this (https://github.com/WebReflection/json.hpack/wiki) as well as organize your schema to be stream-parseable, but it will never be as fast as a binary format. The thing is, HTTP already supports "Accept" and "Content-Type", and there's no reason relays and clients couldn't negotiate a different serialization format.
Author Public Key
npub12akj8hpakgzk6gygf9rzlm343nulpue3pgkx8jmvyeayh86cfrus4x6fdh