Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
T

titan

> 数据库
Open source

A Distributed Redis Protocol Compatible NoSQL Database

1.4K stars0 likes0 views
WebsiteGitHub

About

A Distributed Redis Protocol Compatible NoSQL Database

Titan

A distributed implementation of Redis compatible layer based on TiKV

Why Titan?

  • Completely compatible with Redis protocol
  • Full distributed transaction with strong consistency
  • Multi-tenancy support
  • No painful scale out
  • High availability

Thanks TiKV for supporting the core features. The project is developed and open sourced by the Beijing Infrastructure Team at Meitu and has been donated to DistributedIO org.

Architecture

Quick start

Can't wait to experiment with Titan? Just follow 2 steps:

  1. curl -s -O https://raw.githubusercontent.com/distributedio/titan/master/docker-compose.yml
  2. docker-compose up

Then connect to Titan using redis-cli

redis-cli -p 7369

Enjoy!

Installation

SetUp TiKV cluster

Titan works with 2 TiDB components:

  • TiKV
  • PD

To setup TiKV and PD, please follow the official instructions

Run Titan

  • Build the binary
go get github.com/distributedio/titan
cd $GOPATH/src/github.com/distributedio/titan
make
  • Edit the configration file
pd-addrs="tikv://your-pd-addrs:port"
  • Run Titan
./titan

For more details about Deploy Titan, click here.

Commands supporting status

See the details of the commands supporting status

command status
Connections Almost Fully Supported
Transactions Supported
Server Almost Fully Supported
Keys Supported
Strings Almost Fully Supported
List Almost Fully Supported
Hashes Supported
Sets Almost Fully Supported
Sorted Sets Almost Fully Supported
Geo Not Supported Yet
Hyperloglog Not Supported Yet
Pub/Sub Not Supported Yet
Scripting Not Supported Yet
Streams Not Supported Yet

Benchmarks

Refer to the benchmark docs for more details. It's shared on Baidu Disks, use the code hzt6 to gain the permission.

Basic benchmarking result.

Get

Set

For more info, please vist here Titan Benchmarks

FAQ

FAQ

Roadmap

View our Roadmap

Release Note

  • 20.4.21: add support for rpop and rpoplpush

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Godistributednosqlredistidb

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category数据库
PricingOpen source

> Related tools

P
PostgreSQL
功能强大的开源关系型数据库
R
Redis
内存数据结构存储,常用作缓存与队列
M
MySQL
广泛使用的开源关系型数据库