BattleShip Technology · Inside the Backend

BigPengCloud Microservice Architecture

This is the engine behind Qingniu Dunan. From the Alipay mini-app to the gateway, microservices, and infrastructure, one five-layer diagram explains how data flows and how security holds.

01

Client LayerClients

Every entry point for users and external systems, all over HTTPS with request signatures.

02

Edge LayerEdge & Gateway

The single front door: dynamic routing, unified JWT auth, rate limiting, and canary releases happen here.

03

Business ServicesBusiness Services

Independently deployable microservices split by domain, each owning its data source, routed by path prefix.

04

Governance & SharedGovernance & Shared

Cross-cutting capabilities distilled into 33 shared modules and API contracts, plugged in by services on demand.

05

InfrastructureInfrastructure

All stateful capabilities run as clustered middleware, so business services stay stateless and scale horizontally.

Architecture Choices Made for Security and Change

  • Zero-knowledge Encryption—Dual-algorithm envelope encryption (SM national crypto and RSA+AES) runs deep inside the services; keys belong to the park, the platform stores ciphertext only.

  • One Security Boundary—The gateway validates JWT centrally, while the auth center issues tokens for password / SMS / QR / mini-app / AK-SK login strategies.

  • High Availability—Three-node registry, Redis Sentinel, stateless services — automatic failover and horizontal scaling.

  • Progressive Release—Gateway canary routing runs two versions side by side; new builds get a sliver of traffic first and roll back in seconds.