Tag

Lettuce

0 views collected around this technical thread.

Java Architecture Diary
Java Architecture Diary
Feb 26, 2025 · Databases

Build a Private LLM Knowledge Base with Redis and DeepSeek4J in 10 Minutes

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.

AIDeepSeekJava
0 likes · 6 min read
Build a Private LLM Knowledge Base with Redis and DeepSeek4J in 10 Minutes
Java Architect Essentials
Java Architect Essentials
May 29, 2024 · Backend Development

Deploying Redis Sentinel with Portainer and Integrating It into Spring Boot

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.

DockerDocker ComposeLettuce
0 likes · 15 min read
Deploying Redis Sentinel with Portainer and Integrating It into Spring Boot
High Availability Architecture
High Availability Architecture
May 11, 2024 · Databases

Understanding and Optimizing Redis Pipeline in Spring Boot with Lettuce and Redisson

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.

JavaLettuceRedis
0 likes · 29 min read
Understanding and Optimizing Redis Pipeline in Spring Boot with Lettuce and Redisson
High Availability Architecture
High Availability Architecture
Apr 22, 2024 · Backend Development

Debugging Redis Lettuce Timeout Issues in a Spring Cloud Backend

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
Debugging Redis Lettuce Timeout Issues in a Spring Cloud Backend
Python Programming Learning Circle
Python Programming Learning Circle
Apr 20, 2024 · Fundamentals

Comparison of Five Python Automation Testing Frameworks

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
Comparison of Five Python Automation Testing Frameworks
iQIYI Technical Product Team
iQIYI Technical Product Team
Apr 19, 2024 · Databases

Root Cause Analysis of Redis Timeout in a Spring Cloud Service Using Lettuce and Netty

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.

DockerEventLoopLettuce
0 likes · 15 min read
Root Cause Analysis of Redis Timeout in a Spring Cloud Service Using Lettuce and Netty
vivo Internet Technology
vivo Internet Technology
Apr 10, 2024 · Databases

Analysis of Redis Pipeline Support in Spring Boot with Lettuce and Redisson Clients

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.

JavaLettuceRedis
0 likes · 27 min read
Analysis of Redis Pipeline Support in Spring Boot with Lettuce and Redisson Clients
Zhuanzhuan Tech
Zhuanzhuan Tech
Jan 17, 2024 · Databases

Improving Multi-Key mget Performance in Redis Cluster by Refactoring Client Implementations

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
Improving Multi-Key mget Performance in Redis Cluster by Refactoring Client Implementations
Python Programming Learning Circle
Python Programming Learning Circle
Oct 31, 2023 · Fundamentals

Comparison of Five Python Automation Testing Frameworks: Robot Framework, Pytest, UnitTest, Behave, and Lettuce

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.

Lettuceautomationbehave
0 likes · 14 min read
Comparison of Five Python Automation Testing Frameworks: Robot Framework, Pytest, UnitTest, Behave, and Lettuce
Code Ape Tech Column
Code Ape Tech Column
Feb 27, 2023 · Databases

Choosing Among the Three Major Redis Java Clients: Jedis, Redisson, and Lettuce

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
Choosing Among the Three Major Redis Java Clients: Jedis, Redisson, and Lettuce
macrozheng
macrozheng
Jan 12, 2023 · Databases

Choosing the Right Java Redis Client: Jedis vs Lettuce vs Redisson

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
Choosing the Right Java Redis Client: Jedis vs Lettuce vs Redisson
Top Architect
Top Architect
Sep 16, 2022 · Databases

Differences Among Jedis, Redisson, and Lettuce and Their Integration with Spring Boot

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
Differences Among Jedis, Redisson, and Lettuce and Their Integration with Spring Boot
Top Architect
Top Architect
Jan 22, 2022 · Databases

Differences Among Jedis, Redisson, and Lettuce and Their Usage in Spring Boot

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.

JavaJedisLettuce
0 likes · 13 min read
Differences Among Jedis, Redisson, and Lettuce and Their Usage in Spring Boot
IT Architects Alliance
IT Architects Alliance
Dec 17, 2021 · Databases

Comparison of Jedis, Redisson, and Lettuce and Their Integration with Spring Boot

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
Comparison of Jedis, Redisson, and Lettuce and Their Integration with Spring Boot
Java Architect Essentials
Java Architect Essentials
Sep 29, 2021 · Databases

Differences Among Jedis, Redisson, Lettuce and Using RedisTemplate & RedissonClient in Spring Boot

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
Differences Among Jedis, Redisson, Lettuce and Using RedisTemplate & RedissonClient in Spring Boot
vivo Internet Technology
vivo Internet Technology
Jul 7, 2021 · Databases

Lettuce vs Jedis: Features, Usage, and Comparison of Java Redis Clients

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.

AsyncConnection PoolJava
0 likes · 15 min read
Lettuce vs Jedis: Features, Usage, and Comparison of Java Redis Clients
Java Architecture Diary
Java Architecture Diary
Jul 28, 2020 · Databases

Unlock Redis 6.0 Client‑Side Caching with Lettuce: A Hands‑On Guide

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
Unlock Redis 6.0 Client‑Side Caching with Lettuce: A Hands‑On Guide
Java Architecture Diary
Java Architecture Diary
Jun 8, 2020 · Backend Development

Enable Adaptive Cluster Topology Refresh in Spring Boot 2.3 for Seamless Redis Failover

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
Enable Adaptive Cluster Topology Refresh in Spring Boot 2.3 for Seamless Redis Failover