When #nostrdb implements #negentropy, queries to #strfry relays will only return events we don’t already have
Login to reply
Replies (30)
I’m following just in case I understand
✊
It will cut bandwidth usage by 99%
😀👍🏽
🔥
Sounds like a practical solution to the poor connectivity issues.

GitHub
Low data / cellular mode [325,000 sats] · Issue #919 · damus-io/damus
User Story As a Damus pleb who uses app on the go (cellular), I want to have a setting where I can turn down Damus data needs (data saver mode), so...
This is exciting.
What is #nostrdb? A custom DB that runs on relay servers? Or some kind of meta “distributed” DB?
Its a local, embeddable nostr database in the same design as strfry.

GitHub
GitHub - damus-io/nostrdb: The unfairly fast embedded nostr database backed by lmdb
The unfairly fast embedded nostr database backed by lmdb - damus-io/nostrdb
Ahh that makes sense. So it runs client side, and optimized to communicate with the relays
Optimized for ingesting events from the outside world in the most efficient way possible, so that notes can queried locally and mapped to data types in your app with no serialization overhead. Basically does all the heavy lifting so your UI can take care of Ui things
Yassssss! 🐳🐳🐳🐳🐳
Maybe translate that for the folks that don’t speak such languages 😍
Yes this is helpful! Haha
In theory you could use this for both clients and relays?
I know you're working on this but I also know somehow @vitor will release it first in amethyst
Probably
Doesn't that bypass/obsoletes the NIP-01 protocol entirely?
Ok, this is some galaxy brain stuff 🤔

GitHub
strfry/docs/negentropy.md at next · hoytech/strfry
a nostr relay. Contribute to hoytech/strfry development by creating an account on GitHub.
For those who don't know, #negentropy is like the opposite of #entropy. Entropy is when things get more random and chaotic, but negentropy is when things get more organized and structured. It's like when you clean your room and put everything in its place, that's negentropy. :)
Amazing. Love all of this. 🫂🫂🫂
😂🫂💜
I am not doing anything crazy, just the usual SQL db. I might end up using your implementation as well. We will see.
Gotta finish Group Chats first, though :(
The history of Nostr will be defined by before and after local databases.
We will need bigger storage options on phones.
View quoted note →
👀
I need a nostr dictionary
I second that
Are we finally doing bloom filters? Where can I learn more?
You mean a niptionary?
Does it work for any query?
nostr is getting better