FlockDB is a specialized graph / adjacency-list storage system designed for high performance in large-scale, low-latency, real-time environments. It was developed at Twitter to store social graph data (followers, following, blocks, etc.) and secondary indexes. FlockDB emphasizes horizontal scalability, replication, and support for high rates of writes and updates, as well as efficient paging through very large result sets. It is not a general graph database in the sense of supporting complex multi-hop traversal queries or sophisticated graph algorithms; instead it focuses on the core problem of storing and querying directed edges with attributes such as sort order, state (normal, archived, removed), and position. Edges are stored both in forward and backward directions to facilitate queries in both directions. The project is now archived and in read-only mode, meaning it's no longer actively maintained by Twitter.

Features

  • Supports massive adjacency lists for directed graphs (source → destination and destination → source stored)
  • Supports add / update / remove of edges at high rate (writes) and paging through large result sets (reads)
  • Ability to mark edges as “archived” (cold storage) and restore them later
  • Sort position on edges to allow ordering (for example by timestamp)
  • Horizontal scaling and replication for fault tolerance and performance
  • Designed to be simpler than full graph databases: no multi-hop / graph walking, minimal feature scope, optimized for adjacency queries

Project Samples

Project Activity

See All Activity >

Categories

Database

License

MIT License

Follow FlockDB

FlockDB Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of FlockDB!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Scala

Related Categories

Scala Database Software

Registered

2025-09-18