Tag

expiration

1 views collected around this technical thread.

Practical DevOps Architecture
Practical DevOps Architecture
Nov 21, 2024 · Information Security

Python Script to Retrieve Domain SSL Certificate Expiration Date and Remaining Days

This article presents a Python script that retrieves a domain's SSL certificate information, parses its start and expiration dates, converts them to datetime objects, and calculates the remaining days until the certificate expires, providing a simple command‑line tool for monitoring certificate validity.

AutomationInformation SecurityNetwork
0 likes · 3 min read
Python Script to Retrieve Domain SSL Certificate Expiration Date and Remaining Days
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Apr 18, 2024 · Databases

Redis Expiration and Memory Eviction Strategies Explained

This article explains how to set key expiration times in Redis, the lazy and periodic deletion mechanisms for expired data, and the various memory eviction policies that Redis employs when the maxmemory limit is reached, providing a comprehensive guide for interview preparation.

Eviction PolicyLazy DeletionMemory Eviction
0 likes · 5 min read
Redis Expiration and Memory Eviction Strategies Explained
政采云技术
政采云技术
Oct 25, 2023 · Databases

Redis Memory Management: Eviction and Expiration Strategies Explained

This article provides a comprehensive overview of Redis memory management, detailing how maxmemory limits trigger various eviction policies, explaining the internal freeMemoryIfNeeded algorithm, and describing expiration mechanisms—including active and lazy deletion—and offering guidance on selecting the appropriate eviction strategy for different workloads.

DatabaseLFULRU
0 likes · 18 min read
Redis Memory Management: Eviction and Expiration Strategies Explained
Aikesheng Open Source Community
Aikesheng Open Source Community
Nov 4, 2021 · Databases

Why binlog_expire_logs_seconds May Not Work in MySQL 8.0 and How to Reproduce the Issue

The article explains that in MySQL 8.0 the binlog_expire_logs_seconds variable can fail to purge old binary logs when a backup lock is held, demonstrates the problem with step‑by‑step reproduction, analyzes the cause, and offers practical work‑arounds and references to the official bug report.

BackupMySQLbinlog
0 likes · 5 min read
Why binlog_expire_logs_seconds May Not Work in MySQL 8.0 and How to Reproduce the Issue
Wukong Talks Architecture
Wukong Talks Architecture
Jul 29, 2021 · Databases

Redis Expired Key Deletion Strategies: Lazy Deletion and Periodic Deletion

The article explains Redis's two expiration key removal mechanisms—lazy deletion, which removes keys only when accessed, and periodic deletion, which randomly scans and deletes expired keys at regular intervals—detailing their concepts, pros, cons, and underlying source‑code implementations.

Active ExpireDatabaseLazy Deletion
0 likes · 4 min read
Redis Expired Key Deletion Strategies: Lazy Deletion and Periodic Deletion
Top Architect
Top Architect
Jul 25, 2021 · Databases

Redis Expiration and Eviction Strategies: Memory Management, LRU and LFU Algorithms

This article explains how Redis handles memory exhaustion by setting key expirations with commands like expire and pexpire, describes its lazy and periodic expiration strategies, details the eight configurable eviction policies, and dives into the internal LRU and LFU algorithms used for key eviction.

EvictionLFULRU
0 likes · 12 min read
Redis Expiration and Eviction Strategies: Memory Management, LRU and LFU Algorithms
Full-Stack Internet Architecture
Full-Stack Internet Architecture
May 27, 2021 · Databases

Understanding Redis Memory Eviction and Expiration Strategies

This article explains Redis's memory eviction policies and expiration strategies, detailing how different eviction modes (such as noeviction, allkeys‑lru, volatile‑ttl, allkeys‑lfu) and lazy versus periodic deletion work together to manage limited memory and ensure efficient cache performance.

CachingMemory Evictiondatabases
0 likes · 6 min read
Understanding Redis Memory Eviction and Expiration Strategies
Code Ape Tech Column
Code Ape Tech Column
Feb 25, 2021 · Databases

Understanding Redis Expiration and Eviction Policies

This article explains how Redis handles key expiration, the commands for setting TTL, the three expiration strategies, the eight memory‑eviction policies, and the internal LRU and LFU algorithms used to manage hot data when memory is exhausted.

EvictionLFULRU
0 likes · 12 min read
Understanding Redis Expiration and Eviction Policies
Selected Java Interview Questions
Selected Java Interview Questions
Feb 19, 2021 · Databases

Redis Expiration and Eviction Strategies: Memory Management, LRU and LFU Algorithms

This article explains how Redis handles memory exhaustion by setting key expirations, describes the four expiration commands, details the three expiration strategies, outlines the eight eviction policies, and dives into the inner workings of Redis's LRU and LFU algorithms with configuration examples.

EvictionLFULRU
0 likes · 13 min read
Redis Expiration and Eviction Strategies: Memory Management, LRU and LFU Algorithms
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Nov 29, 2020 · Databases

Understanding Redis Expiration Strategies, RDB, and AOF Implementation

This article explains Redis's cache expiration policies—including timed, periodic, and lazy eviction—details the internal structure and parsing of RDB files, and describes the AOF persistence mechanism with its write‑ahead logging, synchronization options, and rewrite process, providing a comprehensive view of Redis data durability.

AOFData PersistenceDatabase
0 likes · 11 min read
Understanding Redis Expiration Strategies, RDB, and AOF Implementation
Selected Java Interview Questions
Selected Java Interview Questions
Apr 23, 2020 · Databases

Redis Expiration Key Deletion Strategies: Timed, Lazy, and Periodic

This article explains the three Redis expiration‑key deletion strategies—timed, lazy, and periodic—their advantages and disadvantages, how Redis implements lazy and periodic deletion, and how persistence mechanisms such as RDB, AOF, and replication handle expired keys.

Deletion StrategyLazy DeletionPeriodic Deletion
0 likes · 10 min read
Redis Expiration Key Deletion Strategies: Timed, Lazy, and Periodic
Qunar Tech Salon
Qunar Tech Salon
Nov 20, 2019 · Databases

Redis Expiration Mechanisms and Key Deletion Strategies

This article explains how Redis manages key expiration using EXPIRE, PEXPIRE, EXPIREAT, and PEXPIREAT commands, details the internal expires dictionary, demonstrates code examples for setting, retrieving, and removing TTL, and discusses the lazy and periodic deletion strategies along with their impact on persistence and replication.

DatabaseKey DeletionLazy Deletion
0 likes · 22 min read
Redis Expiration Mechanisms and Key Deletion Strategies
Selected Java Interview Questions
Selected Java Interview Questions
Nov 4, 2019 · Databases

Redis Expiration Strategies and Memory Eviction Mechanisms

This article explains how Redis removes expired keys using periodic and lazy deletion, describes the slave expiration handling, details the asynchronous memory reclamation commands like UNLINK and FLUSHALL ASYNC, and outlines the various maxmemory eviction policies including LRU, LFU, and their implementations.

LFULRULazy Free
0 likes · 13 min read
Redis Expiration Strategies and Memory Eviction Mechanisms
Architect's Tech Stack
Architect's Tech Stack
Oct 14, 2019 · Databases

Redis Expiration Strategies and Command Effects on Key TTL

This article explains Redis's expiration policies, detailing how commands like DEL, SET, INCR, LPUSH, PERSIST, RENAME, EXPIRE, and EXPIREAT affect key TTLs, and describes the lazy and periodic deletion mechanisms used by Redis to manage expired keys.

DatabaseLazy DeletionPeriodic Deletion
0 likes · 9 min read
Redis Expiration Strategies and Command Effects on Key TTL
360 Zhihui Cloud Developer
360 Zhihui Cloud Developer
Aug 12, 2016 · Databases

Why Redis Replicas Return Expired Keys and How to Prevent It

The article explains how Redis replicas can return keys that should have expired due to the master‑only expiration process, describes the three expiration strategies (lazy, periodic, active), and offers practical solutions such as using SCAN or upgrading to Redis 3.2 to avoid stale reads.

DatabasePerformanceRedis
0 likes · 9 min read
Why Redis Replicas Return Expired Keys and How to Prevent It