MyGit

nalgeon/redka

Fork: 99 Star: 3481 (更新于 2024-10-20 01:01:11)

license: BSD-3-Clause

Language: Go .

Redis re-implemented with SQLite

最后发布版本: v0.5.2 ( 2024-06-29 03:06:45)

GitHub网址

Redka

Redka aims to reimplement the core parts of Redis with SQLite, while remaining compatible with Redis API.

Notable features:

  • Data does not have to fit in RAM.
  • ACID transactions.
  • SQL views for better introspection and reporting.
  • Both in-process (Go API) and standalone (RESP) servers.
  • Redis-compatible commands and wire protocol.

Redka is functionally ready for 1.0. Feel free to try it in non-critical production scenarios and provide feedback in the issues.

Commands

Redka supports five core Redis data types:

  • Strings are the most basic Redis type, representing a sequence of bytes.
  • Lists are sequences of strings sorted by insertion order.
  • Sets are unordered collections of unique strings.
  • Hashes are field-value (hash)maps.
  • Sorted sets (zsets) are collections of unique strings ordered by each string's associated score.

Redka also provides commands for key management, server/connection management, and transactions.

Installation and usage

Redka comes in two flavors:

Performance

According to the benchmarks, Redka is several times slower than Redis. Still, it can do up to 100K op/sec on a Macbook Air, which is pretty good if you ask me (and probably 10x more than most applications will ever need).

Redka stores data in a SQLite database with a simple schema and provides views for better introspection.

Contributing

Contributions are welcome. For anything other than bugfixes, please first open an issue to discuss what you want to change.

Be sure to add or update tests as appropriate.

Acknowledgements

Redka would not be possible without these great projects and their creators:

Logo font by Ek Type.

Support

Redka is mostly a one-man project, not backed by a VC fund or anything.

If you find Redka useful, please star it on GitHub and spread the word among your peers. It really helps to move the project forward.

Subscribe to stay on top of new features.

最近版本更新:(数据更新于 2024-09-17 12:59:23)

2024-06-29 03:06:45 v0.5.2

2024-06-07 16:46:50 v0.5.1

2024-05-20 21:54:07 v0.5.0

2024-05-05 21:08:58 v0.4.0

2024-04-26 15:24:10 v0.3.0

2024-04-14 20:09:01 v0.2.0

2024-04-14 00:25:40 v0.1.0

主题(topics):

database, key-value, redis, sqlite

nalgeon/redka同语言 Go最近更新仓库

2024-11-06 03:37:39 containerd/containerd

2024-11-05 20:42:00 aurora-develop/aurora

2024-11-05 08:55:31 XTLS/Xray-core

2024-11-05 00:03:47 SagerNet/sing-box

2024-11-04 20:34:19 Permify/permify

2024-11-03 20:10:56 flipped-aurora/gin-vue-admin