Didi Tech
Author

Didi Tech

Official Didi technology account

296
Articles
0
Likes
672
Views
0
Comments
Recent Articles

Latest from Didi Tech

100 recent articles max
Didi Tech
Didi Tech
Jan 11, 2024 · Frontend Development

Mpx 2.9 Release: Atomic CSS Support, SSR Integration, and Bundle Size Optimizations

Mpx 2.9 adds built‑in atomic‑class (utility‑first) CSS, server‑side rendering for web output, and a suite of bundle‑size optimizations—including deterministic IDs, template compression, empty‑module removal, and render‑function pruning—while splitting atomic CSS into sub‑packages for mini‑programs and outlining a roadmap for further compile‑time reductions, Vite support, and cross‑platform extensions.

Atomic CSSMpxSSR
0 likes · 24 min read
Mpx 2.9 Release: Atomic CSS Support, SSR Integration, and Bundle Size Optimizations
Didi Tech
Didi Tech
Jan 9, 2024 · Big Data

Introducing Apache Pulsar: Technical Benefits and Solutions for Didi Big Data Messaging System

Apache Pulsar, a cloud‑native distributed messaging platform, solves Didi Big Data’s DKafka bottlenecks by separating compute and storage, using sequential log writes, heterogeneous disks, multi‑level caching, bundle‑based load balancing and automatic scaling, dramatically improving stability while introducing richer monitoring complexity.

Apache PulsarDKafkaLoad Balancing
0 likes · 17 min read
Introducing Apache Pulsar: Technical Benefits and Solutions for Didi Big Data Messaging System
Didi Tech
Didi Tech
Nov 21, 2023 · Databases

Investigation and Root Cause Analysis of a Redis Memory Leak in Production

An in‑depth, timeline‑driven investigation of a production Redis memory leak revealed that the custom 3.2.8 build’s getKeysInSlot function failed to free a temporary key‑array after traversing the radix‑tree, causing hundreds of megabytes of leaked SDS strings, which was fixed by adding a single free call and highlighted the need for functional code reviews and early leak detection.

LinuxMemory LeakPerformance
0 likes · 10 min read
Investigation and Root Cause Analysis of a Redis Memory Leak in Production
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.

DidiRedisdata replication
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.

AndroidHandle LeakNative Library
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 ManagementKubernetesOvercommit
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.

Cluster UpgradeElastic CloudK8s
0 likes · 16 min read
How Didi’s Elastic Cloud Scales Millions of Nodes with Advanced k8s Scheduling