Skip to content

a simple, lightweight, non-bloated redis client for kotlin and other JVM languages

Notifications You must be signed in to change notification settings

therealnv6/rekt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

REKT - (RE)dis (K)o(T)lin

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.

Why use REKT instead of X/Y redis API

  • 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 has 92000 lines of code, and lettuce-core has a whopping 215000 lines of code!
    • REKT does not use any external libraries, just Java and Kotlin STD lib!

Features

  • 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 ⚠️

Communication

Documentation

Note

Usage is still actively being changed. Versions are (most likely) not backwards compatible nor forwards compatible.

About

a simple, lightweight, non-bloated redis client for kotlin and other JVM languages

Topics

Resources

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Languages