Skip to content
项目

关于

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

数据与分析

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

λ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.

探索相关项目

加载中…