rekt
is a lightweight, non-bloated redis client, primarily written for the kotlin programming language, while also supporting
other JVM-based languages, such as Java, Scala, and obviously way more.
rekt
doesn't aim to have the most features possible - it aims to do what a redis client is supposed to do: handle redis messaging.
- You probably should not if you're working on a production server, REKT is still unstable and in heavy development, however we do have some benefits over other libraries:
- Lightweight, not-bloated: REKT does what it has to do - handle redis messaging, nothing else.
- Despite being lightweight, it still has an easy-to-use API, primarily focusing on making the life of kotlin developers easier.
- It's less than
2000
lines of code (including README)! Whereas, for example jedis has92000
lines of code, and lettuce-core has a whopping215000
lines of code! - REKT does not use any external libraries, just Java and Kotlin STD lib!
- Basic in-memory cache (
HSET
,SET
,HGET
,GET
,HGETALL
, etc.) - Able to call whatever redis command you want through
RedisConnection#call(vararg Any)
- Basic PUB/SUB
⚠️
- Personal Discord Server (#rekt-support channel)
- GitHub Discussions
- GitHub Issues
- GitHub Wiki
-
Build Tools
-
General
-
Caching Data
-
Pub/Sub
-
Usage is still actively being changed. Versions are (most likely) not backwards compatible nor forwards compatible.