-
Notifications
You must be signed in to change notification settings - Fork 993
Home
Welcome to the lettuce wiki! You can find topics in the sidebar on the right.
Overview | Getting started | Downloads | Technical Documentation |
---|---|---|---|
Introducing lettuce - why it’s built and what it does |
How to contribute |
A step-by-step guide to use lettuce |
Detailed technical documentation on lettuce |
Lettuce is a scalable thread-safe Redis client providing synchronous,
asynchronous and reactive APIs. Multiple threads may share one connection if they avoid blocking and transactional operations such as BLPOP
and MULTI
/EXEC
.
Multiple connections are efficiently managed by the excellent netty NIO
framework. Support for advanced Redis features such as Sentinel, Cluster, and Redis data models is included.
lettuce is available in two major versions. The 3.x stream and the 4.x stream. Both streams are maintained. The 4.x stream introduced breaking changes, as a user of 3.x you might be interested in the Migration guide from 3.x to 4.x.
Following rules should give a guidance for the stream in which a particular change is done:
Changes affecting both streams
-
New Redis commands (such as
HSTRLEN
) -
Bugfixes
Changes in the 4.x stream only
-
New Redis paradigms
-
Enriching the API (such as multi-key command execution in the Cluster API)
-
Technical improvements to the client (such as the Reactive API)
The 3.x stream will be maintained until the end of 2016.
Lettuce documentation was moved to https://redis.github.io/lettuce/overview/
Intro
Getting started
- Getting started
- Redis URI and connection details
- Basic usage
- Asynchronous API
- Reactive API
- Publish/Subscribe
- Transactions/Multi
- Scripting and Functions
- Redis Command Interfaces
- FAQ
HA and Sharding
Advanced usage
- Configuring Client resources
- Client Options
- Dynamic Command Interfaces
- SSL Connections
- Native Transports
- Unix Domain Sockets
- Streaming API
- Events
- Command Latency Metrics
- Tracing
- Stateful Connections
- Pipelining/Flushing
- Connection Pooling
- Graal Native Image
- Custom commands
Integration and Extension
Internals