Crates.io | ella |
lib.rs | ella |
version | 0.1.5 |
source | src |
created_at | 2023-07-28 20:38:37.572974 |
updated_at | 2023-08-04 21:39:10.402445 |
description | A streaming time-series datastore for low-latency applications. |
homepage | |
repository | https://github.com/CerebusOSS/ella |
max_upload_size | |
id | 928844 |
size | 118,129 |
Add ella
to your Cargo.toml
file:
ella = "0.1.5"
You may also want to install the ella CLI tools.
Building ella
on Windows requires the Protobuf compiler to be installed.
You can download a pre-built binary from the Protobuf repo.
You can access ella by either starting a new instance or connecting to an existing instance.
Start a new instance by opening or creating a datastore:
let el = ella::open("file:///path/to/db")
.or_create(ella::Config::default())
.and_serve("localhost:50052")?
.await?;
Connect to an existing instance using ella::connect
:
let el = ella::connect("http://localhost:50052").await?;