nalgeon/redka
Fork: 101 Star: 3500 (更新于 2024-11-10 15:26:21)
license: BSD-3-Clause
Language: Go .
Redis re-implemented with SQLite
最后发布版本: v0.5.2 ( 2024-06-29 03:06:45)
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:
- Standalone Redis-compatible server: installation, usage.
- Go module for in-process use: installation, usage.
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:
- Redis (Salvatore Sanfilippo). It's such an amazing idea to go beyond the get-set paradigm and provide a convenient API for more complex data structures.
- SQLite (D. Richard Hipp). The in-process database powering the world.
- Redcon (Josh Baker). A very clean and convenient implementation of a RESP server.
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-21 22:49:20 containerd/containerd
2024-11-21 13:50:50 XTLS/Xray-core
2024-11-21 06:27:30 ollama/ollama
2024-11-21 05:17:55 Melkeydev/go-blueprint
2024-11-21 04:04:03 dolthub/dolt
2024-11-21 01:52:15 SpecterOps/BloodHound