Skip to content
Leo Zhang
Back to Projects

Enterprise Messaging Platform

Chunxiao Technology · 2014 – 2024

Role: Developer & System Designer

Cover

Cover

1 / 12

Internal messaging tool for 5,000 employees had chronic stability issues. Legacy C++ core was unmaintainable — migration had to happen without downtime or message loss. Incremental migration to Spring Cloud + Kotlin Android client, keeping the NDK transport layer for low-latency delivery while replacing everything around it. 90%+ defect elimination, <200ms latency, 500K+ daily messages, ran stable for 10 years.

5,000

Daily Active Users

<200ms

Message Latency

500K+

Daily Messages

90%+

Defect Reduction

<2% down

Uptime

3

Platforms

10 years

Duration

Problem

Enterprise needs reliable low-latency messaging across Android/Web/PC, with unified identity, file storage, and subsystem integration.

Solution

Cross-platform IM: NDK TCP/UDP transport for sub-200ms delivery, Spring Cloud message gateway, FastDFS distributed file storage, Easemob cloud IM migration (eliminated 90%+ defects), JPush backup push channel.

Architecture

Android NDK (TCP/UDP) + Web + PC → Nginx → Spring Cloud Message Gateway → Core Services → MySQL/Redis/FastDFS → Easemob/JPush

Key Highlights

  • Engineered NDK TCP/UDP transport supporting 5,000 DAU and <200ms message latency
  • Migrated core IM from unstable C++ to Easemob cloud, eliminating 90%+ defects
  • Built FastDFS distributed file storage supporting 100GB+ user uploads
  • Architected unified platform: user center, file service, permissions across 5+ subsystems
  • Integrated JPush as backup push channel alongside Easemob IM
  • Maintained <2% downtime across 10-year product lifecycle

Tech Stack

KotlinJavaC/C++NDKSpring CloudNode.jsMySQLRedisFastDFSWebSocketEasemobJPush

What I Learned

NDK TCP/UDP path essential for sub-200ms at scale; cloud migration eliminated chronic instability; manufacturer ROM push differences need layered backup channels.