Tag

Time Zone

1 views collected around this technical thread.

macrozheng
macrozheng
May 7, 2025 · Backend Development

Mastering Date and Time Handling in Java: Thread Safety, Time Zones, and Performance

This article explores common pitfalls in Java date handling, explains thread‑unsafe SimpleDateFormat issues, demonstrates safe alternatives with ThreadLocal, Java 8 Time API, and zone‑aware calculations, and provides performance‑optimized patterns for high‑throughput applications.

DateTimeJavaSpring Boot
0 likes · 10 min read
Mastering Date and Time Handling in Java: Thread Safety, Time Zones, and Performance
Code Mala Tang
Code Mala Tang
Nov 15, 2024 · Frontend Development

Mastering Time Zones in JavaScript: From UTC Storage to DST Detection

Learn how to correctly handle time zones in JavaScript by storing dates in UTC, using the IANA database, detecting daylight saving time, and leveraging built‑in Intl APIs or libraries like Luxon, with practical code examples and best‑practice guidelines.

DSTDateIntl
0 likes · 17 min read
Mastering Time Zones in JavaScript: From UTC Storage to DST Detection
DataFunSummit
DataFunSummit
May 29, 2024 · Big Data

Best Practices for Building an International Ride‑Hailing Data Metric System at Didi

This article presents Didi's comprehensive approach to designing, implementing, and governing a global data metric system for international ride‑hailing, covering business scenarios, metric‑related challenges, organizational structures, process flows, model architecture, time‑zone handling, tooling, and multi‑level governance.

Data ModelingInternationalizationRide-hailing
0 likes · 15 min read
Best Practices for Building an International Ride‑Hailing Data Metric System at Didi
Aikesheng Open Source Community
Aikesheng Open Source Community
Sep 13, 2022 · Databases

Using ClickHouse Materialized Views: Creation, Testing, and Time‑Zone Issue Resolution

This article explains how to create a ClickHouse materialized view that aggregates per‑minute data from a per‑second table, demonstrates insertion and query tests, investigates an unexpected 1970‑01‑01 timestamp caused by time‑zone handling, and provides the corrected view definition aligning field names.

ClickHouseDatabaseSQL
0 likes · 8 min read
Using ClickHouse Materialized Views: Creation, Testing, and Time‑Zone Issue Resolution
Aikesheng Open Source Community
Aikesheng Open Source Community
Nov 12, 2019 · Databases

Analyzing and Fixing High CPU Usage Caused by MySQL Timestamp Time‑Zone Conversion

The article investigates a MySQL performance issue where timestamp fields trigger high CPU usage due to time‑zone conversion, explains the internal representation of TIMESTAMP, shows stack traces and perf data, and proposes configuration and schema changes to resolve the problem.

DatabaseMySQLTime Zone
0 likes · 9 min read
Analyzing and Fixing High CPU Usage Caused by MySQL Timestamp Time‑Zone Conversion
Qunar Tech Salon
Qunar Tech Salon
Aug 1, 2017 · Databases

MySQL Time Zone Setting Causes High CPU and Slow Queries Due to Mutex Contention

A production MySQL incident showed sudden system CPU spikes and many running threads despite low query throughput, which was traced to the server's time_zone=system setting causing timestamp conversion to lock a global mutex, leading to excessive spin‑locks, context switches, and degraded performance that was resolved by changing the time_zone to a fixed offset.

CPUMutexMySQL
0 likes · 6 min read
MySQL Time Zone Setting Causes High CPU and Slow Queries Due to Mutex Contention