david on Nostr: Do you know of any nostr relays that make use of neo4j? I’m thinking of using it to ...
Do you know of any nostr relays that make use of neo4j? I’m thinking of using it to maintain a graph db of pubkeys as nodes, follows (and mutes and probably reports) as edges, and using it for a few things, including:
- a performant way to fetch all followers for any given pubkey
- a performant way to calculate the shortest follow path from pubkey1 to pubkey2
Published at
2024-11-10 22:06:11Event JSON
{
"id": "04635760a69895f47ce35a1ea89b73ae2399448a35a11dc4bdfb8fa5f8d0ca82",
"pubkey": "e5272de914bd301755c439b88e6959a43c9d2664831f093c51e9c799a16a102f",
"created_at": 1731276371,
"kind": 1,
"tags": [
[
"e",
"3fa7167e4e727b6987893ae27637288c06e20b60f00d9dc87520f5bc22637685",
"",
"root"
],
[
"e",
"c0e34d83219fb97174494145c461f0c47ba2f031406ecf1c738bffaffe01c7cc",
"",
"reply"
],
[
"p",
"da18e9860040f3bf493876fc16b1a912ae5a6f6fa8d5159c3de2b8233a0d9851"
]
],
"content": "Do you know of any nostr relays that make use of neo4j? I’m thinking of using it to maintain a graph db of pubkeys as nodes, follows (and mutes and probably reports) as edges, and using it for a few things, including:\n- a performant way to fetch all followers for any given pubkey \n- a performant way to calculate the shortest follow path from pubkey1 to pubkey2",
"sig": "403f10854c64c4ed6923a2af268846909ab718b0d3424f2520b94da558fc8c00ac5edca60829991fb33e5db77b7e74bd037472207949e4ca94e6d17b6a3a12da"
}