humble-tools / zx

serverless, column-based database

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ZX

Column-based serverless database for observability.

  • Separated storage and computing layers. Designed for serverless, cloud-native environment.
  • Minimal maintenance required.
  • Scale from local debugging to observing distributed systems.

Usage

ZX supports a simple subset of SQL.

ZX.SQL <SQL QUERY>

ex. ZX.SQL select count(repo.name) group by events

Development

ZX is a redis module. To build it:

  1. Build ZX
$ cargo build
  1. Load ZX as a redis module
redis-server --loadmodule ./target/debug/libzx.dylib

Running tests

A simple dataset is provided in the fixture/ directory. To load it:

$ redis-server --loadmodule <LIBXZ_PATH_RELATIVE_TO_DIR> --dir <FIXTURE_DIR> --dbfilename TS.rdb

For example, assuming you're in the project root:

$ redis-server --loadmodule ../target/debug/libzx.dylib --dir ./fixtures/ --dbfilename TS.rdb

In another console:

$ redis-cli ZX.T
"ok"

About

serverless, column-based database

License:Mozilla Public License 2.0


Languages

Language:Rust 97.6%Language:Batchfile 1.9%Language:Makefile 0.4%Language:Shell 0.1%