Building Didi’s Core Business Platform with Go: Practices and Open‑Source Contributions

At GopherChina 2018, Didi engineer Shi Songran explained how Go powers the company’s high‑availability order, dispatch, and storage systems, detailing service‑governance practices, two production‑level bugs, and Didi’s open‑source contributions of the gendry database helper and the high‑performance json‑iterator codec.

Didi Tech
Didi Tech
Didi Tech
Building Didi’s Core Business Platform with Go: Practices and Open‑Source Contributions

On April 14‑15, 2018, GopherChina 2018 was held in Shanghai. Among the talks, Didi lecturer Shi Songran presented “Practices of Building Didi’s Core Business Platform with Go”.

The presentation covered four main aspects:

Current scale and usage of Golang in Didi’s business.

Didi’s experience with Go service governance.

Two technical problems encountered in production.

Two open‑source tools contributed by Didi to the Go community.

Shi described how Go is employed in Didi’s order system, dispatch engine, and storage middleware to meet high‑availability, high‑concurrency, and high‑complexity requirements. He then detailed Didi’s service governance practices, focusing on “exception tracing”, “link optimization”, “service refactoring and migration”, and “one‑stop service governance and integration”. The discussion on service refactoring and migration sparked active conversation among attendees.

He also shared two practical issues: a bug caused by a low‑level Go feature and a garbage‑collector optimization experience. The debugging process was demonstrated live, providing valuable insights.

Finally, Shi introduced two open‑source projects from Didi:

gendry – a database operation helper offering connection management, SQL building, and object‑relational mapping.

json‑iterator – a JSON codec that is compatible with the standard Go library but delivers roughly six times higher performance.

Attendees were invited to read the original article to obtain the PPT of the talk. The event marked Didi’s first collaborative project with the Go China community, and Didi expressed its commitment to continue supporting open‑source projects and community activities.

Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

Performance OptimizationBackend DevelopmentGoopen sourceDidiservice governance
Didi Tech
Written by

Didi Tech

Official Didi technology account

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.