Social Networking backend architecture

前端 未结 6 992
鱼传尺愫
鱼传尺愫 2021-02-06 19:04

Ideally, where would an application like Facebook store its \"Friends\" data? In a database table? in an xml file?

6条回答
  •  伪装坚强ぢ
    2021-02-06 19:42

    "Friends" data is well-described in a graph database. Neo4j is an example, though I know it's not the way Facebook stores this information.

    Facebook uses a number of database technologies that may be involved:

    • a patched version of MySQL
    • Cassandra
    • Hadoop
    • ... others

提交回复
热议问题