YaraDB
π Lightning-fast β’ π‘οΈ Crash-safe β’ π― Developer-friendly
Quick Start β’ Documentation β’ Docker Hub β’ Python Client
π What Makes YaraDB Special?
β‘ Blazing Performance
β¨ In-memory operations |
π‘οΈ Enterprise Reliability
β¨ Write-Ahead Logging (WAL) |
π― Developer Experience
β¨ RESTful API + OpenAPI docs |
π§ Smart Flexibility
β¨ Schema-free OR JSON Schema |
π Get Started in 30 Seconds
π³ DockerLinux / macOS:
Windows (PowerShell):
Windows (CMD):
Recommended β’ Production-ready |
π¦ Docker Compose
Easy β’ One command deploy |
π From Source
Development β’ Full control |
Verify it's running:
curl http://localhost:8000/ping
# {"status":"alive"} β
Explore the API:
π http://localhost:8000/docs π
π» Usage Examples
π REST API
|
π Python ClientInstall:
Use:
|
ποΈ How It Works
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β π FastAPI REST API β
β (OpenAPI β’ JSON β’ HTTP/2) β
βββββββββββββββββββββββββββββββ€βββββββββββββββββββββββββββββββββ
β
βΌ
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β πΎ In-Memory Hash Index β
β { UUID β Document } - O(1) Lookup β
βββββββββββββββββββββββββββββββ€βββββββββββββββββββββββββββββββββ
β
βββββββββββ΄ββββββββββ
βΌ βΌ
βββββββββββββββββββββ βββββββββββββββββββββ
β π WAL Engine β β π OCC Locking β
β Append-Only Log β β Version Control β
βββββββββββ€ββββββββββ βββββββββββββββββββββ
β
βΌ
βββββββββββββββββββββ
β πΏ JSON Storage β
β Periodic Snapshot β
βββββββββββββββββββββ
π― Write Path
~2ms latency |
π Read Path
<1ms latency |
π Crash Recovery
Automatic on startup |
πΎ Checkpoints
Background process |
π― Perfect For
PrototypingSpin up a database in seconds. No complex setup, no configuration files. |
Real-Time AppsWebSockets, live dashboards, gaming leaderboards - anywhere speed matters. |
MicroservicesLightweight data layer for containerized architectures. |
TestingFast, ephemeral test databases. Create, test, destroy. |
Edge ComputingLow footprint, works anywhere Docker runs. |
π Learn More
π Complete DocumentationFull guides, tutorials, and best practices |
π API ReferenceREST endpoints, schemas, and examples |
ποΈ Architecture Deep DiveWAL internals, OCC, and design decisions |
π€ Contributing
We β€οΈ contributions from the community!
Whether you're fixing bugs, adding features, improving docs, or sharing ideas β you're welcome here.
π Report BugsFound an issue? |
π‘ Request FeaturesHave an idea? |
π Improve DocsMake it clearer |
π§ Submit CodeFork β’ Code β’ PR |
Read our Code of Conduct β’ Contributing Guide
π License & Legal
Server Side Public License (SSPL)
Β© 2025 Tymofii Shchur Viktorovych
Free for development and internal use β’ Contact for commercial SaaS deployment