Didi Tech
Author

Didi Tech

Official Didi technology account

302
Articles
0
Likes
1.6k
Views
0
Comments
Recent Articles

Latest from Didi Tech

100 recent articles max
Didi Tech
Didi Tech
Nov 14, 2023 · Databases

Didi's Multi-Active Redis Architecture: Design, Challenges, and Solutions

To achieve disaster-recovery and cross-data-center resilience, Didi progressed from a simple proxy double-write scheme to a sophisticated MQ-free multi-active Redis design that uses a dedicated syncer, shard-based loop prevention, op-id replay protection, conflict detection, and incremental AOF durability, ensuring low latency, no data loss, and consistent availability.

Data ReplicationDidiDistributed Systems
0 likes · 11 min read
Didi's Multi-Active Redis Architecture: Design, Challenges, and Solutions
Didi Tech
Didi Tech
Nov 7, 2023 · Mobile Development

Root Cause Analysis and Resolution of Periodic Crashes Caused by File Handle Leak in Didi Android Delivery Merchant App

The Didi Android delivery merchant app suffered periodic crashes on Huawei devices because a null‑checked fopen in libpush.so caused an unchecked fwrite, leaking file handles until the per‑process limit was reached, and the issue was resolved by adding proper null checks, closing handles, and instituting systematic FD‑leak monitoring and code‑review safeguards.

AndroidDebuggingHandle Leak
0 likes · 13 min read
Root Cause Analysis and Resolution of Periodic Crashes Caused by File Handle Leak in Didi Android Delivery Merchant App
Didi Tech
Didi Tech
Oct 31, 2023 · Cloud Native

Design and Optimization of a Host Lifecycle Management Platform for Elastic Cloud

The host‑lifecycle platform (mmachine) standardizes and automates machine onboarding, maintenance, and decommissioning in DiDi’s elastic cloud by using a four‑layer architecture, custom asynchronous scheduler, backup‑machine pool, cloud‑native batching, and idle‑resource governance, turning a manual, day‑level process into a reliable, minute‑level workflow while cutting costs.

Automationcost optimizationhost lifecycle
0 likes · 17 min read
Design and Optimization of a Host Lifecycle Management Platform for Elastic Cloud
Didi Tech
Didi Tech
Oct 19, 2023 · Cloud Native

Design and Implementation of a New Tiered Resource Guarantee System for Elastic Cloud Containers

The new tiered resource‑guarantee system for Didi’s elastic cloud containers defines S, A, and B priority levels with explicit over‑commit rules, upgrades OS, Kubernetes, kube‑odin, service‑tree, and CMP components, and thereby cuts CPU contention by up to 80%, reduces latency, improves scaling reliability, and lowers operational costs.

Container ManagementKubernetesQuota
0 likes · 16 min read
Design and Implementation of a New Tiered Resource Guarantee System for Elastic Cloud Containers
Didi Tech
Didi Tech
Oct 17, 2023 · Cloud Native

How Didi’s Elastic Cloud Scales Millions of Nodes with Advanced k8s Scheduling

This article details Didi’s Elastic Cloud container platform, explaining its Kubernetes‑based scheduling architecture, custom pre‑filter and scoring extensions, service‑profiling driven placement, rescheduling mechanisms, rule‑engine integration, upgrade strategies from k8s 1.12 to 1.20, and the stability framework that keeps a massive multi‑tenant fleet running reliably.

Elastic CloudK8sService Profiling
0 likes · 16 min read
How Didi’s Elastic Cloud Scales Millions of Nodes with Advanced k8s Scheduling
Didi Tech
Didi Tech
Oct 12, 2023 · Cloud Computing

Elastic Cloud Mixed Deployment: Architecture, Scheduling, Isolation, and Future Directions

Didi's Elastic Cloud uses mixed deployment to co‑locate diverse services, employing tiered guarantees, custom Kubernetes scheduling, profiling, rescheduling, and isolation‑cluster techniques to boost utilization while preserving QoS, with a roadmap for broader automation and interference detection.

Dynamic Scalingmixed deploymentperformance isolation
0 likes · 25 min read
Elastic Cloud Mixed Deployment: Architecture, Scheduling, Isolation, and Future Directions
Didi Tech
Didi Tech
Oct 10, 2023 · Backend Development

Investigation of 300‑Second Redis Timeout Issues in a Go Service

The article details how a Go service’s 300‑second Redis call timeout was traced to a gateway’s full‑NAT session‑table loss, and explains how targeted retries, proper timeout settings, and rate‑limiting can prevent similar cascading failures in distributed systems.

GoNetwork TroubleshootingRedis
0 likes · 9 min read
Investigation of 300‑Second Redis Timeout Issues in a Go Service
Didi Tech
Didi Tech
Sep 26, 2023 · Databases

Didi's Time Series Storage Evolution: From InfluxDB to VictoriaMetrics

Facing exponential growth of time‑series data from 2017 to 2023, Didi migrated from InfluxDB to RRDtool, then to an in‑memory cache layer, and finally adopted VictoriaMetrics because its low‑cost commodity‑hardware operation, high write throughput, strong compression, and easy horizontal scaling solved the earlier storage, OOM, and scalability problems.

TSDBTime Series DatabaseVictoriaMetrics
0 likes · 13 min read
Didi's Time Series Storage Evolution: From InfluxDB to VictoriaMetrics
Didi Tech
Didi Tech
Sep 21, 2023 · Cloud Native

OBC: A Cloud-Native Real-Time Computing Engine for Metrics at Didi

To replace costly, duplicated Flink jobs, Didi built Observe‑Compute (OBC), a cloud‑native, PromQL‑driven real‑time metric engine with centralized policy management, scalable containerized workers, and zero‑downtime scaling, achieving million‑RMB annual savings while handling 10 M points per second.

Flink alternativeOBCPromQL
0 likes · 17 min read
OBC: A Cloud-Native Real-Time Computing Engine for Metrics at Didi