Tagged articles

monotonic-clock

4 articles · Page 1 of 1
Rust High-Frequency Quantitative Trading
Rust High-Frequency Quantitative Trading
May 30, 2026 · Fundamentals

Efficient Timestamp Retrieval in Rust for High‑Frequency Trading

The article dissects the cost of obtaining timestamps in Rust, compares chrono::Utc::now(), clock_gettime, std::time::Instant and raw RDTSC, explains Linux vDSO behavior, monotonic vs realtime clocks, and proposes a layered timestamp strategy that uses raw cycles for hot‑path latency measurement, calibrated clock_gettime for wall‑clock alignment, and chrono only at system boundaries.

Rustchronoclock_gettime
0 likes · 16 min read
Efficient Timestamp Retrieval in Rust for High‑Frequency Trading
Xiaokun's Architecture Exploration Notes
Xiaokun's Architecture Exploration Notes
May 11, 2025 · Fundamentals

Why Unreliable Clocks Threaten Distributed Systems—and How to Fix Them

This article examines the unreliability of physical clocks in distributed systems, compares synchronous and asynchronous network timing, explains the roles of wall and monotonic clocks, and explores logical clocks, snapshot isolation, and practical solutions such as Google Spanner's TrueTime to ensure data consistency.

Data ConsistencyLOGICAL_CLOCKclock synchronization
0 likes · 11 min read
Why Unreliable Clocks Threaten Distributed Systems—and How to Fix Them
Xiaokun's Architecture Exploration Notes
Xiaokun's Architecture Exploration Notes
May 4, 2025 · Fundamentals

Why Unreliable Clocks Threaten Distributed Systems—and How to Fix Them

This article examines how unreliable physical clocks—both wall and monotonic—affect distributed systems, compares synchronous and asynchronous network timing, illustrates conflicts caused by timestamp drift, and presents logical clocks and Google’s TrueTime as robust solutions for achieving consistent ordering and data reliability.

LOGICAL_CLOCKTrueTimeclock synchronization
0 likes · 11 min read
Why Unreliable Clocks Threaten Distributed Systems—and How to Fix Them
Aikesheng Open Source Community
Aikesheng Open Source Community
Oct 29, 2021 · Databases

Impact of Adjusting System Time on MySQL Runtime Behavior

The article investigates how changing the operating system clock while MySQL is running influences functions such as SLEEP, metadata lock (MDL) wait calculations, and other timing‑related mechanisms, demonstrating that forward or backward adjustments can cause premature exits or inaccurate wait measurements.

Database PerformanceMetadata LockMySQL
0 likes · 4 min read
Impact of Adjusting System Time on MySQL Runtime Behavior