https://github.com/lujiajing1126/banyandb-billy
https://github.com/lujiajing1126/banyandb-billy
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/lujiajing1126/banyandb-billy
- Owner: lujiajing1126
- License: apache-2.0
- Created: 2023-06-12T01:23:57.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-06-14T10:52:25.000Z (about 2 years ago)
- Last Synced: 2025-02-10T11:18:01.413Z (4 months ago)
- Language: Go
- Size: 70.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Billy Benchmark for BanyanDB
## Load data
First, start `banyandb`. And create resources,
```shell
$ bydbctl group create -f ./scripts/group.yaml
$ bydbctl measure create -f ./scripts/measure.yaml
$ go run ./scripts/create_topn.go
```After schema are setup,
```shell
$ ./scripts/load_data_5K_client.sh
```which will load 5K measure per minute (24 hours in total) into the BanyanDB.
## Run query tests
For a simple verification that the data has been written successfully, use the following script,
```shell
$ bydbctl measure query -f ./query/measure_query.yaml
```Then run query job,
```shell
$ time go run ./query/query.go
```## Acknowledgement
- [How ScyllaDB Scaled to One Billion Rows a Second](https://www.scylladb.com/2019/12/12/how-scylla-scaled-to-one-billion-rows-a-second/)
- https://github.com/VictoriaMetrics/billy