Redisson: A Comprehensive Guide to Redis-Based In-Memory Data Grid

Overview Redisson is an in-memory data grid built on top of Redis that provides distributed Java objects and services. Beyond standard Redis operations, it offers a rich set of distributed structures including Queue, Lock, AtomicLong, CountDownLatch, Publish/Subscribe, and ExecutorService. Redisson abstracts away the complexities of Redis, allo ...

Posted on Wed, 03 Jun 2026 17:48:26 +0000 by we4freelance

Approaching Redis Source Code: A Practical Guide

Overview of Redis Redis (Remote Dictionary Server) is an open-source, high-performance key-value store written in C by Salvatore Sanfilippo. Licensed under the BSD license, it stands out from other caching systems like Memcached due to several core features: Persistence: Supports saving in-memory data to disk for recovery after restarts. Ri ...

Posted on Tue, 02 Jun 2026 17:25:32 +0000 by phpgeek17

JWT Authentication Implementation for Login Verification

Understanding JWT Structure JWT (JSON Web Token) is an open standard (RFC 7519) that defines a compact method for securely transmitting information betwean parties as a JSON object. This information can be verified and trusted because it is digitally signed. JWTs are commonly used for authentication and authorization purposes in web application ...

Posted on Thu, 28 May 2026 18:34:37 +0000 by rishiraj

Building a Message Queue with Redis Streams in Go

This article demonstrates how to implement a message queue using Redis Streams in Go. We will examine the core architecture, focusing on the Redis client configuraton and connection management logic. The project is strcutured into several key components: redis: A package for configuring and connecting to Redis, including connection pooling. pr ...

Posted on Wed, 27 May 2026 17:24:19 +0000 by UVL

Redis Pub/Sub Messaging, Primary-Replica Replication, and Python Client Integration

Pub/Sub Messaging In Redis, channels decouple producers from consumers. A publisher broadcasts to a channel without knowledge of its audience, while subscribers receive only the channels they follow. This topology eliminates polling: the server pushes messages to all connected clients as soon as they arrive. Every push notification is an array ...

Posted on Tue, 26 May 2026 21:54:18 +0000 by kman

Cache Consistency Patterns: Implementing Delayed Double Deletion with Spring Boot AOP and Redis

Understanding the Consistency Challenge In high-concurrency environments, siumltaneous database mutations create temporal windows where Redis caches diverge from persistent storage. Consider two concurrent update threads: Thread Alpha: Updates database record → Updates cache entry Thread Beta: Updates database record → Updates cache entry Exe ...

Posted on Tue, 26 May 2026 19:52:39 +0000 by zulubanshee

Practical Guide to In-Memory Caching with Redis

Why caching matters Every request that reaches the database consumes CPU, memory, and disk I/O. When traffic spikes, the database becomes the first bottleneck. A cache layer—placed between the application and the datastore—absorbs the majority of read requests, reduces latency, and acts as a circuit-breaker when the primary store is unavailable ...

Posted on Tue, 26 May 2026 18:49:24 +0000 by helpwanted

Redis Distributed Lock Failures During Master-Slave Failover and Mitigation Strategies

Redis Lock Vulnearbility Analysis Asynchronous replication creates critical vulnerabilities during failover scenarios: Timeline: 1. Client A acquires lock on master (SET resource_id unique_val NX EX 30) 2. Lock replication to replica delayed (ms to hundreds of ms) 3. Master fails, sentinel triggers failover (3-10 seconds) 4. Replica becomes new ...

Posted on Mon, 25 May 2026 19:45:58 +0000 by 182x

Understanding Redis Pub/Sub Messaging and Transaction Management

Concept Overview Redis Publish/Subscribe (Pub/Sub) implements a messaging paradigm where senders (publishers) transmit messages to channels, and receivers (subscribers) listen for messages on those channels. A single Redis client can subscribe to multiple channels simultaneously. When a message is published to a channel, all active subscribers ...

Posted on Sun, 24 May 2026 19:27:18 +0000 by theda

Troubleshooting Jedis Authentication Error on Unprotected Redis Instances

Understanding the Exception When integrating Java applications with Redis via the Jedis client, developers may encounter the following runtime exception: redis.clients.jedis.exceptions.JedisDataException: ERR Client sent AUTH, but no password is set This error indicates a mismatch in security expectations between the client and the server. Spe ...

Posted on Sun, 24 May 2026 17:52:07 +0000 by scottjcampbell