Tag

Persistence

2 views collected around this technical thread.

Architect
Architect
Apr 30, 2025 · Databases

Redis Core Architecture, Data Types, Persistence, High Availability, and Performance Optimization

This comprehensive guide explains Redis's core architecture, the underlying implementation of its various data types, persistence mechanisms (RDB and AOF), high‑availability solutions such as replication, Sentinel and Cluster, as well as performance‑monitoring techniques and common optimization strategies.

Data StructuresHigh AvailabilityPersistence
0 likes · 48 min read
Redis Core Architecture, Data Types, Persistence, High Availability, and Performance Optimization
Raymond Ops
Raymond Ops
Apr 4, 2025 · Databases

Mastering Redis: Persistence, Cache Pitfalls, Data Types, Clustering & Locks

This article explains Redis persistence mechanisms (RDB and AOF), common cache problems and their solutions, the various Redis data structures and their use cases, cluster deployment options, master‑slave replication, transaction commands, and how to implement distributed locks with SETNX and expiration.

CacheClusteringData Types
0 likes · 13 min read
Mastering Redis: Persistence, Cache Pitfalls, Data Types, Clustering & Locks
Cognitive Technology Team
Cognitive Technology Team
Mar 26, 2025 · Game Development

Designing Scalable Game Leaderboards with Redis: Core Requirements, Data Structures, and Architecture

This article analyzes the essential requirements of massive‑scale game leaderboards, explains how Redis sorted sets and hash tables provide fast ranking and lookup, and presents a multi‑layered architecture—including hot‑key sharding, dynamic partitioning, tiered storage, read/write separation, pipeline batching, and hybrid persistence—to achieve real‑time, billion‑user performance.

Data ShardingPersistenceRedis
0 likes · 5 min read
Designing Scalable Game Leaderboards with Redis: Core Requirements, Data Structures, and Architecture
macrozheng
macrozheng
Mar 14, 2025 · Databases

Boost High‑Traffic Services with Redis: Local & Remote Caching Strategies

This article explains how to use Redis as a high‑performance caching layer—covering local and remote caches, support for multiple data structures, expiration and eviction policies, persistence mechanisms like RDB and AOF, a simple TCP protocol, and advanced modules—enabling services to handle tens of thousands of queries per second without overloading MySQL.

Data StructuresPersistenceRedis
0 likes · 10 min read
Boost High‑Traffic Services with Redis: Local & Remote Caching Strategies
Sohu Tech Products
Sohu Tech Products
Mar 5, 2025 · Databases

Redis Persistence Mechanisms: AOF, RDB, and Hybrid Persistence

Redis offers three persistence options—AOF, which logs every write command; RDB, which creates periodic snapshots; and hybrid persistence, which combines both—to balance data safety, recovery speed, file size, and performance, with configurable settings for sync policies, rewrite processes, and compression.

AOFHybrid PersistencePersistence
0 likes · 20 min read
Redis Persistence Mechanisms: AOF, RDB, and Hybrid Persistence
Java Tech Enthusiast
Java Tech Enthusiast
Jan 24, 2025 · Databases

Why Redis Is Fast: Deep Dive into Performance Principles

Redis achieves remarkable speed by storing data entirely in memory, employing a single‑threaded event loop with I/O multiplexing, and using highly optimized in‑memory data structures while balancing durability through efficient persistence mechanisms, all of which combine to minimize latency and maximize throughput.

Data StructuresI/O multiplexingIn-Memory
0 likes · 6 min read
Why Redis Is Fast: Deep Dive into Performance Principles
vivo Internet Technology
vivo Internet Technology
Jan 15, 2025 · Databases

Redis Persistence Mechanisms: AOF, RDB, and Hybrid Persistence

Redis offers three persistence options—Append‑Only File (AOF) which logs every write, RDB snapshots that capture point‑in‑time data, and a hybrid mode combining both—each configurable with trade‑offs in durability, recovery speed, file size, and performance to suit different application needs.

AOFHybridPersistence
0 likes · 21 min read
Redis Persistence Mechanisms: AOF, RDB, and Hybrid Persistence
Selected Java Interview Questions
Selected Java Interview Questions
Dec 30, 2024 · Databases

Understanding Redis Persistence: RDB, AOF, and Hybrid Strategies

This article explains why Redis, an in‑memory database, needs persistence, compares the four official persistence options (RDB, AOF, RDB+AOF, and no persistence), details their configurations, performance trade‑offs, and introduces the hybrid RDB+AOF approach for balanced durability and speed.

AOFHybridPersistence
0 likes · 13 min read
Understanding Redis Persistence: RDB, AOF, and Hybrid Strategies
macrozheng
macrozheng
Dec 10, 2024 · Backend Development

Boost MySQL Performance with Redis: Local & Remote Caching Strategies

Learn how to prevent MySQL overload by adding Redis as a caching layer, covering local in‑memory caches, remote cache services, support for multiple data types, expiration policies, persistence mechanisms like RDB and AOF, and simplified TCP protocols to achieve high‑throughput, resilient data access.

PersistenceRedisbackend development
0 likes · 11 min read
Boost MySQL Performance with Redis: Local & Remote Caching Strategies
IT Services Circle
IT Services Circle
Dec 3, 2024 · Databases

Using Redis as a High‑Performance Cache Layer for MySQL‑Backed Services

The article explains how to alleviate MySQL bottlenecks in high‑traffic product services by introducing Redis as a local and remote cache, covering data structures, expiration policies, eviction strategies, persistence mechanisms, and a lightweight TCP protocol to achieve scalable, reliable performance.

CacheLRUMySQL
0 likes · 10 min read
Using Redis as a High‑Performance Cache Layer for MySQL‑Backed Services
Aikesheng Open Source Community
Aikesheng Open Source Community
Sep 26, 2024 · Databases

Redis Mastery: In‑Depth Overview of Redis Internals, Persistence, Replication, and Sentinel

This article introduces the new Redis book "Redis Mastery", explains core Redis concepts such as SDS strings, RDB/AOF persistence, master‑slave replication and Sentinel high‑availability, and also announces a limited‑time discount and giveaway for community members.

In-Memory DatabasePersistenceRedis
0 likes · 12 min read
Redis Mastery: In‑Depth Overview of Redis Internals, Persistence, Replication, and Sentinel
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Sep 5, 2024 · Backend Development

Deep Dive into Spring StateMachine: Architecture, Startup, Event Handling, and Persistence

This article provides an in‑depth technical analysis of Spring StateMachine's internal architecture, covering its class hierarchy, lifecycle start/stop mechanisms, pseudo‑state types, trigger processing, event dispatching, and persistence strategies, all illustrated with concrete code examples.

JavaPersistenceSpring
0 likes · 13 min read
Deep Dive into Spring StateMachine: Architecture, Startup, Event Handling, and Persistence
Selected Java Interview Questions
Selected Java Interview Questions
Aug 30, 2024 · Databases

Redis Mastery: Deep Dive into Architecture, Data Structures, Persistence, Replication, and Sentinel

This article introduces the Redis in‑memory database, highlights the new "Redis Mastery" book that blends theory with practical examples, and explains core concepts such as SDS string structures, RDB/AOF persistence, master‑slave replication, and Sentinel high‑availability mechanisms.

Data StructuresIn-Memory DatabasePersistence
0 likes · 11 min read
Redis Mastery: Deep Dive into Architecture, Data Structures, Persistence, Replication, and Sentinel
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Jul 2, 2024 · Databases

Understanding Redis: Single‑Threaded vs Multi‑Threaded Architecture

This article explains how Redis operates primarily with a single‑threaded model for memory and network operations, why this design is efficient, and how recent versions introduce multi‑threaded components for network I/O, persistence, and asynchronous deletion while preserving thread safety.

IO MultiplexingPersistenceRedis
0 likes · 5 min read
Understanding Redis: Single‑Threaded vs Multi‑Threaded Architecture
Architecture Digest
Architecture Digest
Jun 3, 2024 · Backend Development

Spring Statemachine for Order State Management with Persistence, Exception Handling, and AOP Logging

This article explains the fundamentals of finite state machines, introduces Spring Statemachine, demonstrates how to model order lifecycle states, configure persistence with memory and Redis, handle exceptions during state transitions, and use AOP to log transition results, providing complete Java code examples.

AOPJavaPersistence
0 likes · 23 min read
Spring Statemachine for Order State Management with Persistence, Exception Handling, and AOP Logging
Code Ape Tech Column
Code Ape Tech Column
May 14, 2024 · Backend Development

Comprehensive Guide to Spring State Machine: Concepts, Implementation, Persistence, and Troubleshooting

This article explains the fundamentals of finite‑state machines, introduces Spring Statemachine’s core features, walks through a complete Java implementation with database schema, persistence (memory and Redis), REST APIs, exception handling, and an AOP‑based solution for reliable state transitions.

AOPJavaPersistence
0 likes · 25 min read
Comprehensive Guide to Spring State Machine: Concepts, Implementation, Persistence, and Troubleshooting
Sanyou's Java Diary
Sanyou's Java Diary
May 9, 2024 · Databases

From Single Node to Cluster: Mastering Redis Architecture Evolution

This article walks you through Redis’s architectural journey—from a simple single‑node setup, through persistence mechanisms, master‑slave replication, Sentinel‑driven automatic failover, and finally sharding with Redis Cluster—explaining each component’s purpose, trade‑offs, and how they collectively boost performance and reliability.

ClusterHigh AvailabilityPersistence
0 likes · 18 min read
From Single Node to Cluster: Mastering Redis Architecture Evolution
Architect's Guide
Architect's Guide
Apr 24, 2024 · Databases

Redis Overview: Features, Data Types, Caching Strategies, Performance, Eviction Policies, Persistence, Replication, and Sentinel

This article provides a comprehensive introduction to Redis, covering its core features, supported data types, common caching use cases in Spring Boot, typical cache‑related problems such as consistency, avalanche, penetration and breakdown, as well as performance reasons, eviction policies, persistence mechanisms, master‑slave replication, and Sentinel high‑availability architecture.

PersistenceRedisReplication
0 likes · 12 min read
Redis Overview: Features, Data Types, Caching Strategies, Performance, Eviction Policies, Persistence, Replication, and Sentinel
Selected Java Interview Questions
Selected Java Interview Questions
Apr 12, 2024 · Databases

Redis Persistence Strategies: RDB, AOF, and Hybrid Approaches

This article explains why Redis, an in‑memory database, needs persistence, compares the four official persistence options (RDB, AOF, RDB+AOF, and no persistence), details their configurations, performance trade‑offs, and introduces the hybrid RDB+AOF method for balanced durability and speed.

AOFHybridPersistence
0 likes · 15 min read
Redis Persistence Strategies: RDB, AOF, and Hybrid Approaches
Architect
Architect
Apr 7, 2024 · Databases

Comprehensive Guide to Redis: Fundamentals, Persistence, High Availability, and Advanced Topics

This article provides an in‑depth overview of Redis, covering its core concepts, data structures, performance characteristics, persistence mechanisms, high‑availability solutions, clustering, cache design patterns, operational best practices, and underlying implementation details for developers and architects.

ClusterHigh AvailabilityNoSQL
0 likes · 57 min read
Comprehensive Guide to Redis: Fundamentals, Persistence, High Availability, and Advanced Topics