Tag

TTL

0 views collected around this technical thread.

IT Services Circle
IT Services Circle
Dec 22, 2024 · Fundamentals

Understanding IP Packets, TTL, and Traceroute: Tracing the Path to GitHub

This article explains how IP packets are encapsulated, how TTL limits their lifespan, and how traceroute (or tracert) leverages TTL to reveal each network hop, illustrated with a step‑by‑step trace from a personal computer to GitHub’s servers.

GitHubIPRouting
0 likes · 10 min read
Understanding IP Packets, TTL, and Traceroute: Tracing the Path to GitHub
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Aug 14, 2024 · Backend Development

How to Safely Pass ThreadLocal Values Across Thread Pools with TTL

This article explains the limitations of Java's ThreadLocal and InheritableThreadLocal in thread‑pool scenarios, introduces Alibaba's open‑source TransmittableThreadLocal (TTL) library, and provides detailed code examples for safely transmitting thread‑local data across threads, thread pools, and even via Java agents.

JavaTTLTransmittableThreadLocal
0 likes · 10 min read
How to Safely Pass ThreadLocal Values Across Thread Pools with TTL
Wukong Talks Architecture
Wukong Talks Architecture
Apr 24, 2024 · Backend Development

Core Concepts and Common Patterns of RabbitMQ

This article explains why message queues are needed, outlines RabbitMQ's architecture, describes its basic concepts and working modes such as simple, work, fanout, direct and topic, and discusses reliability features like transactions, confirms, dead‑letter queues, TTL, clustering, ordering, and handling message backlogs.

ClusteringDead LetterMessage Queue
0 likes · 24 min read
Core Concepts and Common Patterns of RabbitMQ
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Feb 12, 2024 · Backend Development

Mastering Spring Data Redis Repositories: CRUD, Indexing, and TTL

Learn how to seamlessly integrate Spring Data Redis Repositories in a Spring Boot 2.7 environment, covering object mapping, CRUD operations, indexing with @Indexed, query‑by‑example, batch saves, and setting expiration using @TimeToLive, complete with code examples and visual data representations.

CRUDIndexingRedis
0 likes · 8 min read
Mastering Spring Data Redis Repositories: CRUD, Indexing, and TTL
Aikesheng Open Source Community
Aikesheng Open Source Community
Jan 3, 2023 · Backend Development

Understanding Distributed Locks and Redis RedLock Implementation

This article explains the concept of distributed locks, illustrates real‑world scenarios such as concurrent ATM transactions, and details how to implement reliable distributed locking with Redis using TTL keys, SETNX, Lua scripts, lock renewal, high‑availability considerations, and the RedLock algorithm.

BackendDistributed LockLua
0 likes · 8 min read
Understanding Distributed Locks and Redis RedLock Implementation
DeWu Technology
DeWu Technology
Sep 28, 2022 · Databases

Design and Implementation of ClickHouse‑Based Log Storage with Hot/Cold/Archive Tiering

To replace Elasticsearch, the team built a ClickHouse‑based log platform that uses table‑level TTL and custom storage policies to automatically move data among hot (ESSD PL1), cold (ESSD PL0) and archive (OSS) disks, achieving faster writes, comparable query latency, and over 50 % cost reduction.

ClickHouseDatabaseHot/Cold Tiering
0 likes · 21 min read
Design and Implementation of ClickHouse‑Based Log Storage with Hot/Cold/Archive Tiering
Dada Group Technology
Dada Group Technology
Mar 25, 2022 · Backend Development

Optimizing Log4j2 Logging: Reducing Disk and CPU Usage, Asynchronous Logging, and Traceability with ThreadLocal and TTL

This article presents a comprehensive approach to optimizing Log4j2 logging in high‑traffic Java services by reducing disk and CPU consumption through log level control and pattern tuning, adopting asynchronous logging, and enabling end‑to‑end request traceability using ThreadLocal, TransmittableThreadLocal, and MDC techniques, supported by performance test results and practical recommendations.

JavaTTLasynchronous logging
0 likes · 14 min read
Optimizing Log4j2 Logging: Reducing Disk and CPU Usage, Asynchronous Logging, and Traceability with ThreadLocal and TTL
Top Architect
Top Architect
Mar 12, 2022 · Databases

Understanding Redis Eviction Policies and Memory Management

This article explains Redis's in‑memory database architecture, detailing data locality, various eviction policies such as LRU, LFU, random and TTL, their configuration via maxmemory settings, and provides code examples of the eviction process and memory‑freeing functions.

LFULRUMemory Management
0 likes · 17 min read
Understanding Redis Eviction Policies and Memory Management
Wukong Talks Architecture
Wukong Talks Architecture
Dec 26, 2021 · Backend Development

Core Concepts and Common Patterns of RabbitMQ

This article explains the purpose of message queues, outlines RabbitMQ's architecture, describes common MQ patterns such as simple, work, fan‑out, direct, and topic, and discusses reliability features like transactions, confirms, dead‑letter queues, TTL, clustering, and ordering guarantees.

ClusteringDead Letter QueueMessage Queue
0 likes · 22 min read
Core Concepts and Common Patterns of RabbitMQ
Architect
Architect
Dec 22, 2021 · Backend Development

Implementing Delayed Tasks with RabbitMQ Using Dead‑Letter Exchanges and TTL

This article explains how to replace database‑polling scheduled jobs in e‑commerce systems with RabbitMQ delayed queues by leveraging dead‑letter exchanges and message TTL, providing step‑by‑step configuration, code examples, and deployment details for Spring Boot applications.

BackendDead Letter ExchangeDelayed Queue
0 likes · 12 min read
Implementing Delayed Tasks with RabbitMQ Using Dead‑Letter Exchanges and TTL
360 Quality & Efficiency
360 Quality & Efficiency
Oct 29, 2021 · Backend Development

Implementing RabbitMQ Dead Letter Queues with Go

This article explains the concept of RabbitMQ dead letter queues, outlines the conditions that generate dead letters, provides step‑by‑step configuration instructions, and includes Go code examples for publishing messages with TTL and consuming from the dead‑letter queue to implement delayed processing.

BackendDead Letter QueueGo
0 likes · 5 min read
Implementing RabbitMQ Dead Letter Queues with Go
Practical DevOps Architecture
Practical DevOps Architecture
May 14, 2021 · Databases

Redis Basic Commands and Key Operations Tutorial

This article provides a concise tutorial on essential Redis commands, covering basic operations, database selection, key management, expiration settings, and practical examples demonstrated through the Redis CLI, including how to list keys with patterns, check existence, and clear databases.

DatabaseRedisTTL
0 likes · 7 min read
Redis Basic Commands and Key Operations Tutorial
Efficient Ops
Efficient Ops
May 11, 2021 · Big Data

How to Store Billions of Keys in Redis: Cut Memory, Reduce Fragmentation, and Scale Real‑Time DMP

This article examines the challenges of storing massive DMP data in Redis, analyzes memory fragmentation, key‑size issues, and latency constraints, and presents practical strategies such as TTL eviction, bucket‑hashing, custom key compression, and fragmentation‑reduction techniques to enable scalable, real‑time querying.

BucketIdDMPHashing
0 likes · 11 min read
How to Store Billions of Keys in Redis: Cut Memory, Reduce Fragmentation, and Scale Real‑Time DMP
Architect
Architect
Feb 25, 2021 · Databases

Redis Expiration, Eviction Policies, and LRU/LFU Algorithms

This article explains how Redis handles key expiration, the commands for setting TTL, the three expiration strategies, the eight eviction policies, and the internal LRU and LFU algorithms, including their implementation details, sampling techniques, and configuration parameters for memory management.

LFULRUMemory Management
0 likes · 13 min read
Redis Expiration, Eviction Policies, and LRU/LFU Algorithms
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jan 29, 2021 · Backend Development

Understanding Message Queues: Purpose, Common MQs, RabbitMQ Patterns, and Best Practices

This article explains the role of message queues in asynchronous processing, application decoupling, traffic shaping and log handling, compares popular MQ products, details RabbitMQ concepts and common patterns, and discusses reliability, ordering, dead‑letter, TTL and clustering strategies.

ClusteringDead LetterMessage Queue
0 likes · 27 min read
Understanding Message Queues: Purpose, Common MQs, RabbitMQ Patterns, and Best Practices
vivo Internet Technology
vivo Internet Technology
Jan 27, 2021 · Backend Development

TransmittableThreadLocal Practice: Solving Multi-Country Business Context Propagation in E-commerce

The article explains how to reliably propagate country‑specific context across request handling, database access, and asynchronous thread pools in multi‑country e‑commerce by replacing simple ThreadLocal and InheritableThreadLocal with Alibaba’s TransmittableThreadLocal, demonstrating its integration with Spring MVC/Boot, MyBatis, Dubbo, and custom executors for both sharded and non‑sharded databases.

AlibabaInheritableThreadLocalJava Concurrency
0 likes · 16 min read
TransmittableThreadLocal Practice: Solving Multi-Country Business Context Propagation in E-commerce
Top Architect
Top Architect
Jul 7, 2020 · Backend Development

Consumer‑Side Rate Limiting, TTL, and Dead Letter Queues in RabbitMQ

This article explains why consumer‑side flow control is needed in RabbitMQ, demonstrates how to use the QoS API and basicQos settings, shows practical Java code for limiting consumption, and covers TTL and dead‑letter queue configurations to improve message reliability and system stability.

Consumer Rate LimitingDead Letter QueueJava
0 likes · 15 min read
Consumer‑Side Rate Limiting, TTL, and Dead Letter Queues in RabbitMQ
Top Architect
Top Architect
May 27, 2020 · Backend Development

Consumer‑Side Rate Limiting, TTL, and Dead‑Letter Queues in RabbitMQ

This article explains how to implement consumer-side flow control in RabbitMQ using QoS settings, demonstrates configuring prefetch limits, shows how to set message and queue TTLs, and provides step‑by‑step code examples for creating producers, consumers, and dead‑letter queues to manage message overload and expiration.

Consumer ThrottlingDead Letter QueueJava
0 likes · 15 min read
Consumer‑Side Rate Limiting, TTL, and Dead‑Letter Queues in RabbitMQ
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
System Architect Go
System Architect Go
May 17, 2017 · Backend Development

Implementing SMS Verification Codes with MongoDB TTL in a Backend Service

This article explains how to build a basic SMS verification feature by choosing a gateway, generating and storing 4‑digit codes in MongoDB with TTL, and validating them through a simple backend workflow using Node.js and Mongoose.

APIBackendMongoDB
0 likes · 5 min read
Implementing SMS Verification Codes with MongoDB TTL in a Backend Service