https://github.com/yuuki/xtsdb
[PoC] Xtsdb: A scalable time series database on two tiers of Redis and Cassandra.
https://github.com/yuuki/xtsdb
cassandra graphite monitoring redis time-series time-series-database tsdb
Last synced: about 1 year ago
JSON representation
[PoC] Xtsdb: A scalable time series database on two tiers of Redis and Cassandra.
- Host: GitHub
- URL: https://github.com/yuuki/xtsdb
- Owner: yuuki
- License: apache-2.0
- Created: 2020-05-10T10:45:12.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2025-02-10T13:19:09.000Z (over 1 year ago)
- Last Synced: 2025-04-12T07:45:24.011Z (about 1 year ago)
- Topics: cassandra, graphite, monitoring, redis, time-series, time-series-database, tsdb
- Language: Go
- Homepage:
- Size: 3.79 MB
- Stars: 9
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Xtsdb
Xtsdb is a scalable time series database on two tiers of Redis and Cassandra.
## Architecture

## Requirements
- Memory-based KVS
- Redis 5.0+
- Disk-based KVS
- Apache Cassandra 3.0+
- Apache HBase (To be added)
- Amazon DynamoDB (To be added)
- Amazon S3 (To be added)
- Google BigTable (To be added)
- Google Cloud Storage (To be added)
## Building Binaries
### Using Docker (AMD64)
To build AMD64 binaries using Docker, follow these steps:
1. Build the binaries using the provided Dockerfile:
```bash
docker build --platform linux/amd64 -t xtsdb-builder .
```
2. Extract the binaries from the container:
```bash
docker create --name temp-container xtsdb-builder
docker cp temp-container:/app/xtsdb-ingester .
docker cp temp-container:/app/xtsdb-flusher .
docker cp temp-container:/app/xtsdb-querier .
docker rm temp-container
```
This will create three AMD64 binaries in your current directory:
- `xtsdb-ingester`: The ingestion service
- `xtsdb-flusher`: The flushing service
- `xtsdb-querier`: The query service
## Experiments
[xtsdb-experiments](https://github.com/yuuki/xtsdb-experiments)
## Papers
1. 坪内佑樹, 脇坂朝人, 濱田健, 松木雅幸, 小林隆浩, 阿部博, 松本亮介, **[HeteroTSDB: 異種分散KVS間の自動階層化による高性能な時系列データベース](http://id.nii.ac.jp/1001/00210244/)**, 情報処理学会論文誌, Vol.62, No.3, pp.818-828, 2021年3月. [[paper](https://yuuk.io/papers/2021/heterotsdb_ipsj_journal.pdf)] [[code](https://github.com/yuuki/xtsdb)]
## License
```
Copyright 2020 Yuuki Tsubouchi
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
```
## Author
[yuuki](https://github.com/yuuki)