-
Notifications
You must be signed in to change notification settings - Fork 24
Quick Start
Follow these steps to get a local EloqStore build, issue your first requests, and run unit tests.
- Linux kernel 6.8+ (Ubuntu 24.04 or equivalent) with
io_uringenabled. - Toolchain:
cmake,gcc/clang,ninja(optional),pkg-config. - Dependencies: run the helper script in the main repo (requires sudo):
bash scripts/install_dependency_ubuntu2404.sh
cmake -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build -j$(nproc)Set -DCMAKE_BUILD_TYPE=Debug if you prefer debug symbols.
./build/examples/basic_exampleThis sample (see examples/basic_example.cpp) creates an EloqStore instance, performs async batch writes, then issues reads and scans. Inspect the source to see the pattern for KvOptions, TableIdent, ExecAsyn, and ExecSync usage.
Include eloq_store.h in your application and follow the API Usage Guide for request construction rules. Minimum setup:
eloqstore::KvOptions opts;
opts.store_path = {"/tmp/eloq_store"};
opts.num_threads = 1;
eloqstore::EloqStore store(opts);
store.Start();
// Issue BatchWriteRequest / ReadRequest / ScanRequest
store.Stop();EloqStore tests rely on an S3-compatible backend such as MinIO. After starting MinIO on http://127.0.0.1:9090, and creating the eloqstore bucket, run:
ctest --test-dir build/tests- Review the Overview for architecture and design rationale.
- Dive into the API Usage Guide for all request types and error codes.
- Check the EloqStore FAQ for answers to common integration questions.
With this workflow you can iterate quickly: edit code, rebuild with cmake --build build, and run either the example binary or your own application linked against EloqStore.
Contents
- EloqStore Wiki
- Overview
- Quick Start
- EloqStore FAQ
- API
- EloqStoreRust