What is Nostr?
jb55 / Will
npub1xts…kk5s
2025-01-31 01:39:29
in reply to nevent1q…f967

jb55 on Nostr: from our readme: The unfairly fast nostr database backed by lmdb. nostrdb stores ...

from our readme:

The unfairly fast nostr database backed by lmdb.

nostrdb stores nostr events as a custom in-memory representation that enables zero-copy and O(1) access to all note fields. This is similar to flatbuffers but it is custom built for nostr events.

These events are then memory-mapped inside lmdb, enabling insanely fast, zero-copy access and querying.

This entire design of nostrdb is copied almost entirely from strfry, the fastest nostr relay. The difference is that nostrdb is meant to be embeddable as a C library into any application with full nostr query support.

https://github.com/damus-io/nostrdb
Author Public Key
npub1xtscya34g58tk0z605fvr788k263gsu6cy9x0mhnm87echrgufzsevkk5s