Evolution of BeChat Architecture: From Monolithic LNMP to Microservices and Future V4.0

This article chronicles the architectural evolution of the BeChat kindergarten parent platform, detailing three major redesigns—from a simple LNMP monolith to a Java‑based distributed system and finally a Dubbo‑driven microservice architecture—while outlining the technical motivations, challenges, and future plans such as Docker containerization, API‑gateway integration, and multi‑IDC deployment.

Architecture Digest
Architecture Digest
Architecture Digest
Evolution of BeChat Architecture: From Monolithic LNMP to Microservices and Future V4.0

BeChat, founded in 2013 as a Chinese kindergarten‑parent communication platform, initially adopted a simple LNMP (Linux, Nginx, MySQL, PHP) monolithic architecture (V1.0) to enable rapid development with limited resources, deploying three ECS servers for web, database, and cache.

As user volume grew to millions and daily active users multiplied, the monolith revealed scalability, reliability, and maintenance issues, prompting a complete redesign. In 2015 the team rebuilt the system as a Java‑based distributed architecture (V2.0), introducing multiple servers, service separation, database sharding, master‑slave replication, MQ messaging, and SLB load balancing to improve extensibility and fault tolerance.

By 2016 the platform entered an explosive growth phase, leading to the adoption of a microservice architecture (V3.0) built on Dubbo. Each business domain was isolated into independent services with dedicated databases, leveraging RPC, asynchronous messaging, and comprehensive service governance (authorization, monitoring, version release, configuration management, and full‑link tracing). Specific microservices such as class‑dynamic and user‑passport were created to solve high‑concurrency and data‑consistency problems.

Looking ahead to V4.0, the roadmap includes Docker container deployment for elastic scaling, a unified API gateway for security and traffic control, and multi‑IDC (data‑center) deployment to achieve cross‑region high availability and disaster recovery.

The overall lesson emphasizes that architecture must evolve with business needs: monolithic designs suit early rapid iteration, while distributed and microservice architectures provide scalability, parallel development, and high availability at the cost of increased operational complexity.

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.

architecturecloud-nativeScalabilityDevOps
Architecture Digest
Written by

Architecture Digest

Focusing on Java backend development, covering application architecture from top-tier internet companies (high availability, high performance, high stability), big data, machine learning, Java architecture, and other popular fields.

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.