FlockDB was an
open-source
Open source is source code that is made freely available for possible modification and redistribution. Products include permission to use and view the source code, design documents, or content of the product. The open source model is a decentrali ...
distributed,
fault-tolerant graph database
A graph database (GDB) is a database that uses graph structures for semantic queries with nodes, edges, and properties to represent and store data. A key concept of the system is the graph (or edge or relationship). The graph relates the dat ...
for managing wide but shallow network graphs.
It was initially used by
Twitter
Twitter, officially known as X since 2023, is an American microblogging and social networking service. It is one of the world's largest social media platforms and one of the most-visited websites. Users can share short text messages, image ...
to store relationships between users, e.g. followings and favorites. FlockDB differs from other graph databases, e.g.
Neo4j
Neo4j is a graph database management system (GDBMS) developed by Neo4j Inc.
The data elements Neo4j stores are nodes, edges connecting them, and attributes of nodes and edges. Described by its developers as an ACID-compliant transactional d ...
in that it was not designed for multi-hop graph traversal but rather for rapid set operations, not unlike the primary use-case for
Redis
Redis (; Remote Dictionary Server) is an in-memory key–value database, used as a distributed cache and message broker, with optional durability. Because it holds all data in memory and because of its design, Redis offers low- latency reads ...
sets.
FlockDB was posted on
GitHub
GitHub () is a Proprietary software, proprietary developer platform that allows developers to create, store, manage, and share their code. It uses Git to provide distributed version control and GitHub itself provides access control, bug trackin ...
shortly after Twitter released its
Gizzard framework, which it used to
query the FlockDB distributed
datastore. The database is licensed under the
Apache License
The Apache License is a permissive free software license written by the Apache Software Foundation (ASF). It allows users to use the software for any purpose, to distribute it, to modify it, and to distribute modified versions of the software ...
.
Twitter no longer supports FlockDB.
See also
*
Gizzard (Scala framework)
References
External links
*
{{Twitter Navigation
Graph databases
2010 software
Free database management systems
Free software programmed in Java (programming language)
Java platform
Free software programmed in Scala
Fault-tolerant computer systems
Twitter