23

刚刚遇到 FlockDB 图数据库。github/ flockDB上的详细信息。Twitter 声称它将 FlockDB 用于以下用途:

Twitter 在大型机器集群上运行 FlockDB。我们用它来存储社交图(谁关注谁,谁阻止谁)和 twitter 上的二级索引。

乍一看,设置和尝试看起来并不简单。有没有人已经使用它/设置这个?如果是这样,请回答以下一般问题。

  • 它更适合什么样的应用?(Twitter 声称它很简单而且非常粗糙,但仍有待了解它的含义)
  • FlockDB 比其他图形数据库/noSQL 数据库更好。您是否设置了 FlockDB,将其用于应用程序?
  • 早期的建议有吗?

注意:我正在评估 FlockDB 和其他图形数据库,主要是为了学习它们。也许,我会为此构建一个应用程序。

4

2 回答 2

14

Flockdb is still Yet to be released by Twitter, which means the current version you are seeing won't run properly. Going by the history of commits i guess within a couple of days you can see a stable version which you can build and test.

Compared to something like Neo4J you can say Flockdb is not even a graph database. The toughest part of a graph database is how many levels of depth it can handle. From the little documentation of Flockdb it seems like it can't handle more than 1 level of depth. Where FlockDb wins compared to DBs like Neo4J is it's low latency, high throughput and inherent distributed nature.

Regarding Applications - i guess it will be a great fit whenever you need social networking or twitter like behavior. I don't think many will find such use cases though (who gets 20k friend requests per sec ?).

I Just started looking into Flockdb. Right now i am planning to use it in my forum software. Instead of user1 follows user2 relationship, i am planning to use it for user1 read post1, user1 favorites post1 etc. Being one of the highly active online communities we get a lot of such traffic(read/favorite). Can't think of any other use cases now.

于 2010-04-14T03:38:28.060 回答
4

不要错过OrientDB。这是一个带有特殊运算符的文档图 dbms,用于遍历关系:http ://code.google.com/p/orient/wiki/GraphDatabase

于 2010-08-12T20:36:23.963 回答