Skip to content
프로젝트

소개

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

데이터 및 분석

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

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.

관련 프로젝트 살펴보기

불러오는 중…