Using Redis with Spring Boot in IntelliJ IDEA
Core Data Types in Redis
1. Strings
Strings are the most basic data type — a key maps directly to a value. They can store text, numbers, or serialized objects.
SET key value — Assign a value to a key.
GET key — Retrieve the value associated with the key.
SETEX key seconds value — Set a key with an expiration time in seconds.
SETNX key value — ...
Posted on Sun, 21 Jun 2026 16:34:41 +0000 by jmicozzi
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 Data Types: In-Depth Analysis of Strings and Internal Implementation
Redis (REmote Dicsionary Service) is an open-source, in-memory data structure store used as a database, cache, and message broker. Unlike traditional databases, Redis stores data primarily in memory, enabling extremely high throughput (often exceeding 100,000 operations per second) and low latency access.
While it is commonly recognized for its ...
Posted on Sat, 23 May 2026 22:14:59 +0000 by Toy
Redis Core Concepts: Data Structures, Persistence, and Clustering Strategies
Data Types and Internal Encodings
Redis distinguishes between external data types exposed to users and internal encoding mechanisms that optimize memory usage. Understanding these mappings helps in capacity planning and performance tuning.
String Implementation
Strings utilize Simple Dynamic Strings (SDS) rather than raw C strings. SDS maintain ...
Posted on Thu, 07 May 2026 11:58:00 +0000 by tylrwb