Cloud Computing 11 min read

Building a Scalable SaaS Platform: Architecture, Deployment, and Operations Insights

This article explains what SaaS is, outlines its business value, and walks through the full technical stack—from entry points and access layer to business, data, and operations layers—while comparing shared, dedicated, and hybrid deployment models and future challenges.

NetEase Smart Enterprise Tech+
NetEase Smart Enterprise Tech+
NetEase Smart Enterprise Tech+
Building a Scalable SaaS Platform: Architecture, Deployment, and Operations Insights

SaaS Overview

SaaS (Software‑as‑a‑Service) is an Internet‑based delivery model where the provider handles all infrastructure, software, and maintenance, and customers simply rent the software via the web. It relies on agility and operational efficiency and is often exemplified by Salesforce.

Business Value

Enterprises adopt SaaS to replace traditional on‑premise software procurement because it reduces cost, speeds up deployment, and aligns vendor success with customer success. However, SaaS can suffer from reduced independence, controllability, and customization.

Infrastructure Layers

Entry Point

Clients access the SaaS system via browsers, mobile apps, mini‑programs, or smart devices, typically through a common domain or tenant‑specific subdomains. DNS is required, and many providers implement HTTPDNS to avoid hijacking.

Communication uses HTTP for simple cases, but most SaaS systems need long‑lived connections (TCP, WebSocket) and may also use UDP/RTP for media streams, often integrated via third‑party services such as NetEase Cloud‑IM.

Access Layer

This layer consists of routing protocols and multi‑layer proxies (BGP, three‑layer switches, four‑layer NLBs) that connect the external network to internal services.

Business Layer

The business layer hosts the core services, usually built as micro‑services. It handles tenant management, service discovery, load balancing, serialization, security, and other concerns. Early prototypes may start as monoliths and later be split into micro‑services.

Tenant management

Service discovery

Load balancing

Transport protocols

Resource isolation

Serialization formats

Circuit breaking & degradation

Authentication & authorization

Network security

Service tiering

Distributed consistency

Supporting components such as message queues, caches, configuration centers, and scheduled jobs are also required.

Data Layer

Relational databases (e.g., DDB), HBase, TiDB for cold data, Elasticsearch or MongoDB for specialized storage, and object storage with CDN are typical. Analytical needs are met with OLAP databases like ClickHouse, and time‑series data may use TSDBs. Data compliance and encryption are critical.

Operations Capability

Robust observability, metering, rapid recovery, fault drills, and system governance are essential. Monitoring must cover system resources, business metrics, tracing, alerts, error rates, traffic thresholds, trends, and change management, with tenant‑level visibility.

Deployment Models

Shared Mode

All resources (services, databases, etc.) are shared among tenants, offering high flexibility and resource utilization but risking tenant interference and compliance challenges.

Dedicated Mode

Each tenant has isolated resources, enabling full customization and isolation at the cost of lower utilization, higher expense, and greater operational complexity.

Hybrid Mode

Combines shared and dedicated resources, balancing flexibility and isolation, and is common in large‑scale SaaS platforms.

Future Directions

While SaaS accelerates vertical solutions, enterprises increasingly demand cross‑business, cross‑department capabilities such as integrated marketing and private domain operations. Ongoing challenges include cost control, compliance, scalability, and differentiated tenant services, driving continuous innovation in architecture, low‑code platforms, and ecosystem partnerships.

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.

operationsBackend DevelopmentSaaScloud architecturedeployment models
NetEase Smart Enterprise Tech+
Written by

NetEase Smart Enterprise Tech+

Get cutting-edge insights from NetEase's CTO, access the most valuable tech knowledge, and learn NetEase's latest best practices. NetEase Smart Enterprise Tech+ helps you grow from a thinker into a tech expert.

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.