What is Nostr?
Nathan Knowler /
npub172d…zt3e
2024-05-31 17:37:29

Nathan Knowler on Nostr: New engineering problem: currently on Deno Deploy I’m using BroadcastChannels to ...

New engineering problem: currently on Deno Deploy I’m using BroadcastChannels to create a sort of P2P object cache between isolates so I can avoid too many KV reads. That’s been working pretty well for the last 4 months or so, but it seems with my most recent blog post I’ve discovered a new limit — the max size of BroadcastChannel messages. Seems like I could just batch the messages, but this is pretty exhausting. I’m honestly considering ejecting all the content from the KV store and putting it in the repo at least until I find a better solution.
Author Public Key
npub172dyqcxlmmacszwavnk6028pmz08hkvqgzsms2u6ryjn0rq4s9rqc5zt3e