An open API service indexing awesome lists of open source software.

https://github.com/lujiajing1126/banyandb-billy


https://github.com/lujiajing1126/banyandb-billy

Last synced: 3 months ago
JSON representation

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