Design principles
Apply these principles to design cloud architectures that deliver consistent, high performance under varying workloads.
Performance is critical for any system — poor performance drives users away. Performance issues often trace back to initial architecture decisions. Although architectures evolve continuously, every design choice must account for performance implications.
Performance bottlenecks can arise anywhere along the request path, from the browser to the database. As more core systems run on the cloud, architecture design and resource selection become crucial. Apply the following principles to build a high-performance cloud architecture.
Select effective cloud resources
While application-level optimizations matter, system performance ultimately depends on the underlying compute and storage resources. Higher-performing infrastructure makes application tuning easier.
Computing demands grow increasingly diverse. General-purpose workloads often prioritize cluster scale over individual node power, such as during traffic bursts. In contrast, AI model training requires bare metal machines with A100 GPU cards for large-scale computation. Cloud resources deploy within a specific Availability Zone, and migrating after commitment is costly. Select your Availability Zone based on latency, inventory, and supported resource types.
Your initial choice of cloud resources significantly impacts final system performance. Evaluate suitable cloud services.
Build a scalable and extensible architecture
Large systems handle high-concurrency traffic and store massive data. A fixed number of servers cannot economically serve fluctuating demand. Instead, group resources into clusters that scale up during peak traffic and scale down during lulls, balancing service stability with cost efficiency.
A well-designed system typically includes application server clusters, cache clusters, and database clusters. Stateless application servers scale out easily. Cache clusters require warm-up or invalidation when adding nodes. Database scaling is more complex — it demands careful planning of data backup, synchronization, and routing strategies to maintain availability and performance.
Follow cloud architecture best practices
Core business systems increasingly run on the public cloud, and cloud providers continuously refine products based on real-world needs. This co-evolution has established best practices for specific scenarios. Adopting these practices early improves your architecture design and overall performance. Find detailed guidance in each cloud product's best practices documentation and the Alibaba Cloud Best Practices channel.
Understand design considerations
Do not pursue maximum performance at all costs. Balance performance goals against resource cost and development effort. Challenges and considerations.