Sunday, December 6, 2020

Social network: shortest path & degrees of separation

2 way BFS search on graph.

How to scale?

Graph DB

Neo4J/: Sharding. Network hops between machines costly.

Randomized vs domain based.

Domain: Geographical regions for people. Tags for blogs. Category for products.

ArangoDB: Smart graphs: GC implemented to move edges together on the same machine.

Titan DB: Allows CA (Berkeley), AP (Cassandra) & CA (HBase).

Supernodes: split up followers based off some attribute. Add metadata on attributes to filter search.


No comments:

Post a Comment

Free AI Chat tools

https://grok.com https://x.com/i/grok https://chatgpt.com https://copilot.microsoft.com https://chat.deepseek.com https://www.meta.ai https:...