Cloud Computing 4 min read

Scaling an Image Service with Alibaba Cloud: A Step‑by‑Step Architecture Journey

This article outlines how a startup progressively upgraded its image‑centric product architecture on Alibaba Cloud—from rapid ECS/RDS deployment, through OSS + CDN acceleration, to caching with Memcache and horizontal scaling with SLB load balancing—offering practical guidance for similar teams.

Java High-Performance Architecture
Java High-Performance Architecture
Java High-Performance Architecture
Scaling an Image Service with Alibaba Cloud: A Step‑by‑Step Architecture Journey

The author reflects on a product called "萌mark" and shares its architecture evolution, noting parallels with their own team's experience using Alibaba Cloud for an image‑based service.

Rapid Implementation Phase

Alibaba Cloud ECS and RDS were used to quickly build the product environment. The application was deployed on ECS and connected to the RDS database. RDS reduces operational effort, provides high reliability, security, and elastic performance, though keeping a self‑managed database as a backup is advisable.

Rapid implementation architecture diagram
Rapid implementation architecture diagram

Image Acceleration Phase

As image storage and access demands grew, the team adopted Alibaba Cloud OSS with CDN acceleration, solving image delivery speed and bandwidth consumption issues. They also retained a copy of images on their own server for safety.

Image acceleration architecture diagram
Image acceleration architecture diagram

Vertical Scaling Phase

Increasing traffic made direct database queries insufficient, so Alibaba Cloud Memcache was introduced to cache hot, rarely‑changed data.

Vertical scaling with cache diagram
Vertical scaling with cache diagram

Horizontal Scaling Phase

When a single server reached its performance limit, multiple ECS instances were purchased and Alibaba Cloud SLB load balancing was employed, eliminating the need to configure and maintain a custom load balancer, hiding server IPs, and allowing seamless addition or removal of backend servers.

Horizontal scaling with load balancer diagram
Horizontal scaling with load balancer diagram

Overall, leveraging Alibaba Cloud services significantly reduced operational costs and simplified later expansion, making them well‑suited for the rapid growth phase of early‑stage products.

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 computingimage serviceAlibaba Cloudscalingstartup
Java High-Performance Architecture
Written by

Java High-Performance Architecture

Sharing Java development articles and resources, including SSM architecture and the Spring ecosystem (Spring Boot, Spring Cloud, MyBatis, Dubbo, Docker), Zookeeper, Redis, architecture design, microservices, message queues, Git, etc.

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.