{"id":18273980,"url":"https://github.com/distributedio/titan-lightning","last_synced_at":"2025-04-05T03:30:31.230Z","repository":{"id":73429506,"uuid":"339914174","full_name":"distributedio/titan-lightning","owner":"distributedio","description":null,"archived":false,"fork":false,"pushed_at":"2021-02-25T14:37:29.000Z","size":214,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-10-29T18:53:55.714Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/distributedio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2021-02-18T02:31:22.000Z","updated_at":"2022-10-13T12:48:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"3ed33d82-1b23-4786-9238-bc318f42e74d","html_url":"https://github.com/distributedio/titan-lightning","commit_stats":{"total_commits":9,"total_committers":1,"mean_commits":9.0,"dds":0.0,"last_synced_commit":"f00404f72cef9b7548787d42c91c4f8251c4a8b8"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/distributedio%2Ftitan-lightning","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/distributedio%2Ftitan-lightning/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/distributedio%2Ftitan-lightning/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/distributedio%2Ftitan-lightning/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/distributedio","download_url":"https://codeload.github.com/distributedio/titan-lightning/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246971551,"owners_count":20862759,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-05T12:08:15.118Z","updated_at":"2025-04-05T03:30:30.882Z","avatar_url":"https://github.com/distributedio.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Titan Lightning\n**Titan Lightning** is a tool for fast full import of large amounts of data into a [Titan](https://github.com/distributedio/titan) cluster.\n\nit implements parsing and encoding of the [Redis](http://redis.io) [RDB file format](https://github.com/sripathikrishnan/redis-rdb-tools/blob/master/docs/RDB_File_Format.textile).\n\nThis tool was heavily inspired by [TiDB Lightning](https://github.com/pingcap/tidb-lightning).\n\n## Installation\n\n### SetUp TiKV cluster\n\nTitan works with 2 TiDB components:\n\n* TiKV\n* PD\n\nTo setup TiKV and PD, please follow the official [instructions](https://pingcap.com/docs-cn/dev/how-to/deploy/orchestrated/ansible/)\n\n### Run Titan\n\n* Build the binary\n\n```\ngo get github.com/distributedio/titan\ncd $GOPATH/src/github.com/distributedio/titan\nmake\n```\n\n* Edit the configration file\n\n```\npd-addrs=\"tikv://your-pd-addrs:port\"\n```\n\n* Run Titan\n\n```\n./titan\n```\n\n### Run Titan-Lightning\n\n* Build the binary\n\n```\ngo get github.com/nioshield/titan-lightning\ncd $GOPATH/src/github.com/nioshield/titan-lightning\nmake\n```\n\n* Edit the configration file\n\n```\npd-addrs=\"your-pd-addrs:port\"\nsource-addrs = \"./dump.rdb\"\n```\n\n* Run Titan-Lightning\n\n```\n./titan-lightning\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdistributedio%2Ftitan-lightning","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdistributedio%2Ftitan-lightning","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdistributedio%2Ftitan-lightning/lists"}