# twitter-archive/flockdb

A distributed, fault-tolerant graph database

Repository: https://github.com/twitter-archive/flockdb
Canonical: https://ross.abutalabs.com/products/flockdb
Language: Scala
License: NOASSERTION
License Family: other
Archived: true
Last push: 2017-03-16T23:11:18+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 5987, "days_push": 3457, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, archived, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3316, forks 245 (observed 2026-08-28T04:07:56.134892+00:00)

## What it is
FlockDB is a distributed, fault-tolerant graph database built by Twitter for storing adjacency lists of directed graphs, such as social graphs. It is optimized for high-throughput, low-latency online workloads with simple edge storage and set arithmetic queries rather than multi-hop graph traversal.

## Use cases
- store a social graph like who follows whom
- run set arithmetic queries over large edge lists
- page through query results containing millions of edges
- archive and later restore graph edges
- horizontally scale a high write-throughput graph store
- store secondary indices for a large web service

## When to choose
- you need simple adjacency-list storage with very high read/write throughput
- you want horizontal scaling and replication for billions of edges
- your queries are single-hop set operations rather than graph walks

## When to avoid
- you need multi-hop or graph-walking queries, which are explicitly non-goals
- you want an actively maintained project - Twitter no longer maintains it or responds to issues
- you need automatic shard migrations or a general-purpose graph database like Neo4j

## Facets
- artifact type: library
- maturity: abandoned
- function: database, search-engine, rpc
- domain: databases, microservices, social-media, developer-tools
- platform: jvm
- tags: graph-database, scala, social-graph, sharding, thrift, twitter, adjacency-lists, unmaintained, linux, macos

## Member repositories
- twitter-archive/flockdb (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:56.134892+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:42:05.029390+00:00, confidence not recorded.
  - readme: https://github.com/twitter-archive/flockdb (fetched 2026-08-28T04:07:56.134892+00:00, sha d42fae171963)
- Data as of 2026-08-30T08:39:29.467469+00:00.
