Tagged articles
Lettuce
27 articles · Page 1 of 1
The article breaks down Redis‑Cluster failover into detection, election, failover, and client perception stages, explains the timing bottlenecks of each, and provides concrete server‑side and Lettuce client configurations that shrink end‑to‑end recovery to under ten seconds.
FailoverHigh AvailabilityLettuce
0 likes · 7 min read

The article explains why merely adding @Cacheable is insufficient and introduces four essential Redis design patterns—penetration protection, avalanche mitigation, serialization control, and consistency handling—plus client‑level considerations, each illustrated with concrete code and diagrams.
CachingConsistencyLettuce
0 likes · 7 min read

This tutorial shows how to harness Redis's dual role as a high‑performance cache and a vector database, guiding you through Docker setup, vector storage methods, and Java Lettuce integration to build a private large‑language‑model knowledge base with DeepSeek4J.
AIDeepSeekLettuce
0 likes · 6 min read

This tutorial walks through installing Portainer, using it to deploy a Redis master‑slave‑sentinel cluster with Docker Compose, creating a custom bridge network, testing failover, and finally integrating the sentinel setup into a Spring Boot application with Lettuce connection pooling and sample controller code.
BackendDockerDocker Compose
0 likes · 15 min read

This article explains the principles of Redis Pipeline, compares Lettuce and Redisson client implementations in Spring Boot, presents performance tests showing dramatic speed gains over single commands, discusses practical usage scenarios, common pitfalls, and provides detailed source code examples for both clients.
JavaLettucePipeline
0 likes · 29 min read

An in‑depth investigation of a Redis timeout problem in a Spring Cloud backend reveals that the Lettuce client’s Netty EventLoop threads become blocked by synchronous Pub/Sub callbacks, causing socket buffer buildup, and proposes solutions such as increasing I/O threads or off‑loading processing to avoid the issue.
LettuceNettyRedis
0 likes · 15 min read

This article compares five popular Python automation testing frameworks—Robot Framework, Pytest, UnitTest, Behave, and Lettuce—detailing their prerequisites, strengths, weaknesses, and suitability for different testing scenarios to help developers choose the right tool for functional, unit, or behavior‑driven testing.
FrameworksLettucePython
0 likes · 12 min read

A Docker image upgrade reduced Netty EventLoop threads, causing a Pub/Sub listener’s blocking Future.get() to stall one thread, fill a Redis cluster connection’s receive buffer and trigger widespread Redis timeouts in the custom Lettuce cache framework, which were eliminated by increasing I/O threads or making the callback asynchronous.
DebuggingDockerEventLoop
0 likes · 15 min read

This article analyzes how Redis pipelining works, compares Lettuce and Redisson clients under Spring Boot, presents performance benchmarks for batch inserts, discusses practical pitfalls, and explains the internal implementation of pipeline support in both clients to help developers avoid common issues.
LettucePipelineRedis
0 likes · 25 min read

The article examines how Spring Boot’s Lettuce and Redisson clients implement Redis pipelining, explains the batch‑request principle, benchmarks 100 000 set inserts showing pipeline speeds of 0.5–1.4 seconds versus 162 seconds for single commands, demonstrates Spring Data Redis callback usage, warns of high‑cost command pitfalls, and details Redisson’s RBatch internals, concluding that pipelining dramatically boosts throughput when command costs are modest.
JavaLettucePipeline
0 likes · 27 min read

This article analyzes why Lettuce's mget on Redis Cluster performs poorly due to slot-based architecture, presents client-side refactoring using hashtags and pipeline‑based JedisCluster modifications, and shows benchmark results demonstrating up to double speed improvement over Lettuce.
JedisClusterLettuceMGET
0 likes · 12 min read

This article reviews and compares five popular Python automation testing frameworks—Robot Framework, Pytest, UnitTest, Behave, and Lettuce—covering their prerequisites, advantages, disadvantages, and how they stack up against each other to help newcomers choose the right tool for functional, unit, or behavior‑driven testing.
LettucePythonautomation
0 likes · 14 min read


21CTOMar 28, 2023 · Backend Development
This article evaluates the five leading Python test automation frameworks—Robot Framework, Pytest, unittest (PyUnit), Behave, and Lettuce—detailing their installation requirements, key features, advantages, disadvantages, and suitability for functional, unit, or behavior‑driven testing to help developers choose the right tool.
LettucePythonTest Automation
0 likes · 12 min read

This article compares the three popular Redis Java clients—Jedis, Redisson, and Lettuce—detailing their features, advantages, drawbacks, and providing practical recommendations and code examples for selecting and configuring the best client in Spring Boot applications.
JavaJedisLettuce
0 likes · 11 min read

This article explains why the Lettuce asynchronous Redis client, built on Netty, outperforms the traditional Jedis client for high‑concurrency caching, covering Redis client differences, Netty NIO fundamentals, Redis Cluster architecture, smart client redirection handling, and practical Java code examples.
CachingClusterJava
0 likes · 17 min read

This article compares three popular Java Redis clients—Jedis, Lettuce, and Redisson—detailing their advantages, drawbacks, and recommended usage scenarios, helping developers select the most suitable client based on performance, thread safety, and advanced Redis features such as clustering, sentinel, and distributed locks.
Client ComparisonJavaJedis
0 likes · 9 min read

This article compares the Java Redis clients Jedis, Redisson, and Lettuce, explains their core differences, and provides detailed Spring Boot configuration and code examples for using each client, including RedisTemplate, RedissonClient, and annotation‑based caching.
JavaJedisLettuce
0 likes · 14 min read

This article compares the Java Redis clients Jedis, Redisson, and Lettuce, explains their distinct features and thread‑safety models, and provides detailed Spring Boot configuration and code examples for using RedisTemplate, RedissonClient, and annotation‑based caching to implement distributed locks, hash operations, and cache management.
CachingJavaJedis
0 likes · 13 min read

This article compares the three popular Java Redis clients—Jedis, Redisson, and Lettuce—detailing their differences in threading, I/O, and feature sets, and provides comprehensive Spring Boot configuration and code examples for using StringRedisTemplate, RedissonClient, and Spring Cache annotations to implement caching and distributed locks.
JavaJedisLettuce
0 likes · 11 min read

This article compares the three popular Redis Java clients—Jedis, Redisson, and Lettuce—explaining their core differences, then shows how to configure and use Spring's RedisTemplate, RedissonClient, and annotation‑based caching with practical code examples and configuration files.
CachingJavaJedis
0 likes · 14 min read

This article compares the Java Redis clients Jedis, Redisson, and Lettuce, explains their distinct features and thread‑safety, and provides detailed Spring Boot configurations and code examples for RedisTemplate, RedissonClient, and cache annotations to implement caching, distributed locks, and atomic operations.
JavaJedisLettuce
0 likes · 13 min read

Learn how to integrate Spring Data Redis with Spring Boot, replace Jedis with Lettuce, define data models using @RedisHash and @Indexed, configure connection properties, implement CRUD and example queries, and understand the underlying key-value storage patterns illustrated with practical code and visual examples.
CRUDJavaLettuce
0 likes · 13 min read

Lettuce, a thread‑safe, Netty‑based Java Redis client supporting synchronous, asynchronous, reactive, Cluster, Sentinel, pipelining and custom codecs, outperforms Jedis’s non‑thread‑safe pooled connections by reducing resource consumption, simplifying Spring integration, and offering advanced features like read‑write splitting, topology refresh, and optional pooling for high‑throughput applications.
JavaJedisLettuce
0 likes · 15 min read

This article reviews five popular Python automation testing frameworks—Robot Framework, Pytest, UnitTest/PyUnit, Behave, and Lettuce—detailing their prerequisites, strengths, weaknesses, and how they compare, to help developers select the most suitable tool for their projects.
Lettuceautomationbehave
0 likes · 13 min read

This article explains Redis 6.0’s built‑in client‑side caching, demonstrates how to install Redis via Docker, configure Lettuce snapshot dependencies, write Java code to enable and test cache synchronization, monitor Redis commands, and outlines current limitations of Lettuce and Spring Boot support.
Client CacheDockerJava
0 likes · 7 min read

This article demonstrates how to set up a Redis cluster, connect it with Spring Boot 2.3 using Lettuce, simulate a node failure, and configure Spring Boot's adaptive topology refresh to achieve automatic failover without application downtime.
Adaptive RefreshFailoverLettuce
0 likes · 9 min read

This article explains why Spring Boot 2.0 replaced the Jedis Redis client with Lettuce, highlighting Lettuce’s netty‑based architecture, thread‑safe shared connections, asynchronous and reactive support, seamless Redis Sentinel and Cluster integration, SSL, streaming API, and provides code examples for both blocking and async usage.
JavaLettuceNetty
0 likes · 4 min read
