Tagged articles
2 articles
Page 1 of 1
Top Architect
Top Architect
Aug 10, 2022 · Backend Development

Cache Consistency: Challenges and Strategies for Backend Systems

This article examines why cache consistency cannot be fully guaranteed, analyzes common inconsistency scenarios between Redis and MySQL, compares four update strategies, and offers practical recommendations such as updating the database before deleting cache, using short expiration times, delayed double‑delete, MQ or binlog approaches to achieve eventual consistency.

BackendConsistencycaching strategies
0 likes · 19 min read
Cache Consistency: Challenges and Strategies for Backend Systems
Architect's Tech Stack
Architect's Tech Stack
Aug 4, 2019 · Backend Development

Ensuring Distributed Transaction Consistency with RocketMQ Transactional Messages

This article explains how to achieve eventual consistency for cross‑service transactions in a distributed environment by using RocketMQ's transactional messages, detailing the underlying principles, message flow, implementation steps for producers and consumers, and important usage limitations.

RocketMQbackend-developmentdistributed-systems
0 likes · 7 min read
Ensuring Distributed Transaction Consistency with RocketMQ Transactional Messages