Skip to content
Proyectos

Acerca de

A toy document DB mainly created for self-education and fun

Datos y análisis

Cómo se miden estas cifras

Crecimiento de estrellas medido

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
Recopilando historial

Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.

README.md

Original

λykiaDB

CI

codecov

LykiaDB logo

Lykia is a document database management system built for educational purposes. The famous book, Crafting Interpreters, was the main source of inspiration for the project. It turned into a database, though.

Overview

  • 100% safe Rust, #BlazinglyFast
  • A weird scripting and query language, combination of JavaScript and SQL. The language is a separate module thus can be used without the database.
  • A subset of JSON data types in both scripting language itself and storage
  • In-disk and in-memory storage
  • ACID compliance
  • Replication

Primary goals

  • Core scripting language + DML/DDL SQL
  • Client and server apps
  • A minimal standard library
  • Query planning and binding (in progress)
  • Query execution (in progress)
  • Persistent storage engine (in progress)
  • Transactions and multi-version concurrency control

Phase 2 goals

  • Bytecode execution
  • Query optimization

Phase 3 goals

  • Replication with Raft
  • JIT execution for expression evaluation

Non-goals

  • LykiaDB is not (and will not be) a production-grade database.

Getting Started

To use Lykia, you can download the latest release from the GitHub releases page.

Developing via client:

cargo run-script dev-client

Run the server:

$ cargo run --release --bin lykiadb-server

Run the shell:

$ cargo run --release --bin lykiadb-shell lykiadb-shell/examples/fib.ly

Flamegraph a benchmark:

$ sudo cargo flamegraph --bench interpreter -- --bench

For playground, please visit lykia-rs/playground

License

Lykia is licensed under the Apache License, Version 2.0. See LICENSE for the full license text.

Explorar proyectos relacionados

Cargando…