jb55 on Nostr: working on an embedded database custom-built for nostr. think an embeddable strfry. ...
working on an embedded database custom-built for nostr. think an embeddable strfry. It will probably be the fastest special-purpose database on the planet once it’s done.
I’ve built a custom in-memory note representation with O(1) and zero-copy access so that you can memory-map the data from inside lmdb directly into your data types without needing to serialize anything in and out.
if that didn’t make sense, the TLDR: shit is about to get real fast.
https://github.com/damus-io/nostrdbPublished at
2023-07-20 04:32:54Event JSON
{
"id": "effa51148390736b7a098c1e72f48a23ad958cc9d97d813a10f95ebebb7630a6",
"pubkey": "32e1827635450ebb3c5a7d12c1f8e7b2b514439ac10a67eef3d9fd9c5c68e245",
"created_at": 1689827574,
"kind": 1,
"tags": [
[
"r",
"https://github.com/damus-io/nostrdb"
]
],
"content": "working on an embedded database custom-built for nostr. think an embeddable strfry. It will probably be the fastest special-purpose database on the planet once it’s done.\n\nI’ve built a custom in-memory note representation with O(1) and zero-copy access so that you can memory-map the data from inside lmdb directly into your data types without needing to serialize anything in and out.\n\nif that didn’t make sense, the TLDR: shit is about to get real fast.\n\nhttps://github.com/damus-io/nostrdb",
"sig": "e679631d8d88ee739485e0ec8963156c11d8d77fecc32896c22328cd86acff016963be851c0e739153e89d39255b0e622e08f210fc427536ce1ea224701a36df"
}