Skip to content

distributedio/titan-lightning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Titan Lightning

Titan Lightning is a tool for fast full import of large amounts of data into a Titan cluster.

it implements parsing and encoding of the Redis RDB file format.

This tool was heavily inspired by TiDB Lightning.

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

Run Titan-Lightning

  • Build the binary
go get github.com/nioshield/titan-lightning
cd $GOPATH/src/github.com/nioshield/titan-lightning
make
  • Edit the configration file
pd-addrs="your-pd-addrs:port"
source-addrs = "./dump.rdb"
  • Run Titan-Lightning
./titan-lightning

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published