any nostr devs familiar with #neo4j?
Discussion
Hey yeah I’m using it in DVMDash!
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
I haven’t looked at relay implementations in a while. I assume you know about awesome-nostr repo tracking all the projects? that’s my go to for what others are doing.
Yeah I think it’s perfect for that!
The cypher queries for those should be pretty straightforward. I’m currently working on scaling my deployment of a neo4j db and making it more performant. Open to trading notes if you start using neo4j!
Yup I use awesome nostr, probably most thorough listing of projects right now
I have neo4j hello world functionality on an aws ec2 instance with Ubuntu, using nextjs. Hopefully this week I’ll be populating it with follows data