Skip to content
/ astel Public

A Key Value (KV) Database just like Redis. Astel is an in-memory database that persists on disk. The data model is key-value, but many different kind of values are supported: Strings, Lists, Sets, Sorted Sets, Hashes, Streams, HyperLogLogs, Bitmaps.

Notifications You must be signed in to change notification settings

cooocy/astel

Repository files navigation

Astel

Astel is an in-memory Key Value (KV) Database (like Redis) that persists on disk. The data model is key-value, but many different kind of values are supported: Strings, Lists, Sets..

Use netty as the network layer framework and custom message protocol.

Features

  • Multi Structures
    • Strings
    • Lists
    • Sets
    • Hash
  • Memory Clean
    • Scheduled eviction
    • Passive eviction
  • Persistent
    • Snapshot(RDB)
  • Single thread Execution

Commands

  • set
  • get
  • del
  • exists
  • expire
  • ttl
  • lpush
  • rpush
  • lpop
  • rpop
  • llen
  • lrange

Server Run

gradle build -x test
# Modify the config file: resources/config.yaml
java -jar Astel.jar

About

A Key Value (KV) Database just like Redis. Astel is an in-memory database that persists on disk. The data model is key-value, but many different kind of values are supported: Strings, Lists, Sets, Sorted Sets, Hashes, Streams, HyperLogLogs, Bitmaps.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published