ThruDB

discontinued

by Jake Luciani · since 2007 · also known as Thrudb

2007-era document storage and search services on Apache Thrift with pluggable BerkeleyDB, MySQL or S3 stores.

documentsearch enginedatabase engineopen source (permissive)legacy

discontinued. Project page states it is no longer under development; it never had a formal release and Google Code is archived. Use MongoDB, Couchbase or Elasticsearch.

Overview

ThruDB, started by Jake Luciani, was a set of small network services built on Apache Thrift for scaling websites: Thrudoc for document storage, Thrudex for Lucene-based indexing and search, Thruqueue for persistent queues and Throxy for scaling. Storage back ends were pluggable (BerkeleyDB, plain disk, MySQL or Amazon S3), with memcached integration, redo logging and incremental backups, and Thrift generated clients for most languages. It never made a formal release, and its Google Code page declared it no longer under development; its author went on to work on Apache Cassandra. It is a snapshot of pre-NoSQL-boom thinking about document stores.

Strengths & trade-offs

Strengths

  • +Pluggable storage back ends including BerkeleyDB, MySQL and S3
  • +Thrift-generated clients for many languages
  • +Combined document storage, search and queue services in one kit

Trade-offs

  • −Never formally released and abandoned around 2008
  • −Thin documentation and no community
  • −Depends on very old Thrift and Lucene versions

Great for

  • +History of early NoSQL document stores
  • +Studying Thrift-based service design

Think twice for

  • −Any production workload

Capabilities

Native or official first-party support · 2 of 25 tracked

✓Full-text search
✓Durable persistence
–Transactions
–Joins
–Secondary indexes
–Vector search
–Geospatial
–JSON
–Change data capture
–Triggers
–Stored procedures
–Materialized views
–TTL / expiry
–Pub/Sub
–Columnar storage
–In-memory
–Compression
–Encryption at rest
–Role-based access
–Time travel
–Branching
–Online schema changes
–Streaming ingest
–Offline sync
–Runs in WebAssembly

Scale & consistency

Comfortable data size
Small · ≤ 100 GB
Horizontal scaling
Manual
Multi-region
No
Transactions
None
Consistency
Eventual
Schema
Schemaless
Architecture
Client server, Distributed
Query languages
Thrift service API

Deployment

Self-hosted Vendor-managed cloud Serverless Embedded Edge Kubernetes operator

Ecosystem

apis & protocolsApache Thrift RPC
client languagesJava, Python, Ruby, PHP, Perl, C++

Alternatives to ThruDB

Compare all→
MongoDBDocument80.5

The default document database: flexible BSON documents, rich queries and built-in sharding.

thrudb vs mongodb →
Couchbase ServerDocument27.5

Memory-first distributed JSON database with SQL++, search, vector indexes and mobile sync.

thrudb vs couchbase →
ElasticsearchSearch Engine75.1

Lucene-based distributed search and analytics engine for text, vectors, logs and metrics.

thrudb vs elasticsearch →
Apache CassandraWide-Column55.9

Masterless wide-column database built for always-on writes across data centers.

thrudb vs apache-cassandra →
ZincSearchSearch Engine5.1

Lightweight single-binary full-text search engine in Go with Elasticsearch-compatible ingest.

thrudb vs zincsearch →
Apache CouchDBDocument43.6

HTTP/JSON document database built around multi-master replication and offline-first sync.

thrudb vs apache-couchdb →

ThruDB FAQ

What is ThruDB?

ThruDB is a document database by Jake Luciani, first released in 2007. ThruDB, started by Jake Luciani, was a set of small network services built on Apache Thrift for scaling websites: Thrudoc for document storage, Thrudex for Lucene-based indexing and search, Thruqueue for persistent queues and Throxy for scaling. Storage back ends were pluggable (BerkeleyDB, plain disk, MySQL or Amazon S3), with memcached integration, redo logging and incremental backups, and Thrift generated clients for most languages. It never made a formal release, and its Google Code page declared it no longer under development; its author went on to work on Apache Cassandra. It is a snapshot of pre-NoSQL-boom thinking about document stores.

Is ThruDB open source?

Yes. ThruDB is open source. License: BSD License.

Does ThruDB support ACID transactions?

No. ThruDB does not provide ACID transactions; its consistency model is eventual.

Does ThruDB scale horizontally?

ThruDB has no built-in sharding; scaling out means partitioning data in your application. It is comfortable at small scale (≤ 100 GB).

How can I run ThruDB?

You can self-host it.

What is ThruDB best for?

ThruDB is a strong fit for history of early NoSQL document stores and studying Thrift-based service design. Think twice for any production workload.

What are the best alternatives to ThruDB?

Common alternatives to ThruDB include MongoDB, Couchbase Server, Elasticsearch, Apache Cassandra and ZincSearch. The right choice depends on your workload, scale and hosting; WhichDB's smart match ranks them against your requirements.

Is ThruDB still maintained?

ThruDB is discontinued. Project page states it is no longer under development; it never had a formal release and Google Code is archived. Use MongoDB, Couchbase or Elasticsearch.

How popular is ThruDB?

ThruDB has little measurable public adoption today, so it ranks near the bottom of the WhichDB Score.