Global Feed Post Login
Replying to Avatar Vitor Pamplona

Should each account on Amethyst have it's own database of Nostr events? Or should we have just one DB with everything for all logged-in accounts?

Having one DB for each account enables us to save decrypted content that should only be seen by that account, speeding up the visualization of that encrypted content (like chat messages). However, it also massively duplicates content if both accounts are seeing similar things on public feeds.

Maybe we need a dual-layer database approach. One layer to store everything as it came from relays and a second layer with one database per account to store things in a decrypted fashion 🤔.

Thanks for helping me out.

Avatar
hello 2y ago

I highly suspect that at least saving text locally is entirely doable. My terrible old phone has like 60GB of data and I would gladly give up a GB to save, how many texts? I would suspect more than the entire library of Alexandria's worth

Reply to this note

Please Login to reply.

Discussion

No replies yet.