Tagged articles
web architecture
79 articles · Page 1 of 1

21CTOMay 15, 2026 · Cloud Native
The article explains how the longstanding web architecture that separates stateful databases from stateless compute is being challenged by large language models and AI agents, which introduce long‑running, stateful, bidirectional workflows, exposing the need for new routing primitives such as persistent pub/sub channels rather than traditional HTTP‑load‑balancer setups.
LLMRoutingStateless
0 likes · 8 min read

This article provides a comprehensive technical guide to Nginx reverse proxy, explaining forward vs reverse proxy concepts, architecture layers, event‑driven model, detailed configuration examples, and a step‑by‑step request flow that illustrates how Nginx hides backend servers while enabling load balancing and high availability.
Server configurationbackend developmentload-balancing
0 likes · 4 min read

This guide explains how to split static and dynamic traffic with Nginx, outlines the architecture, showcases CDN caching, and provides concrete configuration tweaks such as sendfile, tcp_nopush, tcp_nodelay, gzip/brotli, and cache‑control to dramatically improve web performance and scalability.
load-balancingstatic assetsweb architecture
0 likes · 3 min read

This article provides interview‑ready, step‑by‑step explanations of how Nginx works with Tomcat, the benefits of static‑dynamic separation, essential Nginx modules and load‑balancing algorithms, plus detailed MySQL master‑slave replication, failover, backup strategies, and related database concepts.
MySQL replicationbackend developmentnginx
0 likes · 13 min read

This article explains the concept of Nginx static‑dynamic separation, describes three deployment patterns—mixed, fully separated, and CDN‑backed architectures—illustrates how static assets are served directly by Nginx to reduce backend load, and highlights performance benefits such as lower latency, higher throughput, and easier scaling.
backend optimizationnginxweb architecture
0 likes · 4 min read

This article explains why developers—both frontend and backend—should understand browsers, covering user experience, compatibility, performance, security, and debugging, then traces the browser’s evolution from the early 1990s to modern multi‑process architectures, outlines core components, rendering engines, and current market share.
Frontend Developmentbrowserbrowser history
0 likes · 12 min read

This article explains the importance of browsers for both front‑end and back‑end developers, outlines the historical evolution from early single‑process designs to modern multi‑process architectures, and details core components, rendering engines, and market share, providing a comprehensive technical overview.
browserhistoryweb architecture
0 likes · 14 min read

This article explains the Central Authentication Service (CAS) single sign‑on system, detailing its token‑based architecture, the roles of the CAS server, client, and protected services, and outlines typical scenarios such as e‑commerce, enterprise intranets, online platforms, and cloud services.
AuthenticationCASSSO
0 likes · 7 min read

The article explores the motivations behind mini programs, micro‑frontends, and module loading, comparing their technical advantages, business implications, and ecosystem challenges while questioning whether these solutions truly address core problems or merely serve as market‑driven silver bullets.
frontendmicro-frontendmini-program
0 likes · 19 min read


21CTOJan 22, 2023 · Backend Development
This article explains the fundamentals of web application architecture, covering its core components, layered models, modern design patterns, popular technologies, and best practices for building secure, scalable, and maintainable web systems across cloud and on‑premise environments.
APIbackend developmentdatabase
0 likes · 45 min read

This article explains why traditional single‑point load balancers are limited, how CDNs distribute traffic, the role of DNS and SOA in request routing, and how DNS‑based load balancing can improve availability and speed for high‑traffic websites.
CDNDNSSOA
0 likes · 8 min read

This article explains what React Server Components are, why they matter, how they address the limitations of traditional API‑driven front‑end architectures such as request waterfall, bundle size and collaboration overhead, and what benefits and challenges they bring to modern web development.
ReactServer Componentsperformance
0 likes · 12 min read

This article explains the concepts and differences of URI, URL, and URN, describes their hierarchical relationship, outlines URL components, discusses Data URI syntax, presents best‑practice guidelines for stable and user‑friendly URL design, and provides real‑world examples such as Flickr API URL patterns.
URIURL designweb architecture
0 likes · 24 min read

This article explains the differences between URI, URL and URN, outlines best‑practice principles for designing stable, readable and user‑friendly URLs, discusses technical details such as Data URIs, mapping, redirects, and provides concrete examples including Flickr API URL patterns.
Best PracticesURIURL design
0 likes · 32 min read

Effective URL design, covering the distinctions and relationships among URI, URL, and URN, best practices for stability, readability, and longevity, as well as technical considerations such as Data URIs, hash fragments, redirects, and real‑world examples like Flickr, provides essential guidance for web architects and developers.
HTTPURIURL design
0 likes · 25 min read


21CTOApr 10, 2022 · Fundamentals
This article explains the concepts of URI, URL, and URN, outlines their hierarchical relationship, details URL structure and design principles, discusses Data URIs, hash fragments, and provides real‑world examples such as Flickr API URL patterns to help developers create stable, user‑friendly web addresses.
Best PracticesURIURL design
0 likes · 26 min read

This article explains the concepts, differences, and hierarchical relationships of URI, URL, and URN, discusses common pitfalls and design guidelines for stable and user‑friendly web addresses, and provides practical examples such as Data URI syntax, Flickr API URL patterns, and HTTP redirection strategies.
Best PracticesHTTPURI
0 likes · 25 min read

Front‑end development has progressed from early back‑end‑only sites to a distinct discipline covering HTML, CSS, and JavaScript, embracing SPA techniques, micro‑frontend architectures, and full‑stack capabilities via Node.js and BFF layers, requiring engineers to grasp both client presentation and server‑side concepts for collaborative, modular, reusable web applications.
BFFNode.jsSPA
0 likes · 13 min read

This article explains the complete web request lifecycle—including DNS lookup, caching mechanisms, HTTP/HTTPS communication, TCP/UDP transport, gateway routing, backend service models, virtualization, Docker containerization, and Kubernetes orchestration—providing engineers with a solid foundation for diagnosing and optimizing modern web applications.
CachingDNSDocker
0 likes · 19 min read


21CTOJan 6, 2022 · Backend Development
This article explains the fundamentals of web application architecture, detailing components such as user agents, DNS, load balancers, virtual machines, web servers, databases, caching services, CDNs, external and cloud storage, as well as best‑practice guidelines for building efficient, scalable, and secure backend systems.
Cachingbackend developmentcloud storage
0 likes · 10 min read

A detailed post examines why the Xi’an health‑code service collapsed, showing that the lack of CDN for static assets and the resulting 125 Gbps bandwidth demand at 33 k QPS overwhelmed a single data‑center link, rather than any server‑side QR‑code generation issue.
CDNHealth Codenetwork
0 likes · 4 min read

This article explains the necessity of Single Sign-On (SSO) in multi‑system environments, traces its origins from monolithic web applications to distributed clusters, and describes common implementation approaches for same‑domain and cross‑domain scenarios, including the use of a central authentication center such as CAS.
AuthenticationSSOSecurity
0 likes · 6 min read


ByteFESep 16, 2021 · Frontend Development
This article introduces the Jamstack architecture, compares it with traditional web stacks, and details how Douyin's e‑commerce 818 main‑hall performance optimization project applied Jamstack principles, CDN caching, API prefetching, and client‑side techniques to achieve faster, more scalable page delivery.
CDNFrontend DevelopmentJamstack
0 likes · 7 min read

The article outlines the defining traits of large-scale websites—high concurrency, massive data, 24/7 availability, security, and rapid iteration—and discusses major technical challenges such as scaling, caching, clustering, database read/write separation, CDN acceleration, distributed storage, and service decomposition.
Cachingdatabase shardingdistributed systems
0 likes · 10 min read

This article walks through the step‑by‑step architectural evolution of a Java Web e‑commerce platform, covering initial single‑machine deployment, separation of application and database servers, clustering, load‑balancing algorithms, session handling, read/write splitting, search integration, caching, database sharding, microservice decomposition, SOA governance, and the introduction of message middleware.
CachingJavamessage middleware
0 likes · 16 min read

This article explores what a web architect does, the core value they bring to software projects, and the extensive technical and soft‑skill competencies required, offering a practical roadmap for developers aspiring to transition from coding to strategic system design.
backend developmentcareer developmentsoftware engineering
0 likes · 11 min read

Static and dynamic resource separation, commonly known as static‑dynamic separation, involves deploying static files (HTML, JavaScript, CSS, images) on a web server like Nginx while forwarding dynamic requests to a backend application server via reverse proxy, thereby improving static asset delivery speed and enabling parallel front‑end and back‑end development.
frontend backend separationnginxreverse-proxy
0 likes · 3 min read

This article walks through the step‑by‑step evolution of a Java web e‑commerce platform, covering initial single‑machine deployment, server‑database separation, application clustering, load‑balancing techniques, read‑write splitting, caching, database sharding, service‑oriented architecture, and the introduction of messaging middleware to achieve a highly scalable and maintainable system.
Javaload-balancingweb architecture
0 likes · 17 min read

The article examines the reasons for combining PHP and Java in web architecture, highlighting PHP’s rapid front‑end development and flexibility, Java’s performance and stability for back‑end services, and discusses the trade‑offs, challenges, and practical experiences of dual‑language systems.
Dual LanguageFrontend DevelopmentJava
0 likes · 14 min read

Tips is an open‑source static‑text management platform that lets front‑end developers and non‑technical staff instantly edit UI prompts and page content through an embedded JavaScript SDK and web console, supporting internationalization, permission‑based toggles, and immediate or publish‑controlled updates, eliminating full deployment cycles.
Frontend DevelopmentSDKinternationalization
0 likes · 8 min read

The article explains how traditional Java web projects that bundle JSP, static assets, and business logic into a single WAR cause performance and scalability issues, and advocates separating front‑end static resources from back‑end services to achieve true decoupling, better fault tolerance, and easier horizontal scaling.
Front-end DecouplingJSPJava
0 likes · 10 min read

This article explains the role of a middle tier in web systems, describes middleware concepts, outlines the advantages of using Node.js as a middle layer, and provides a step‑by‑step Koa‑based implementation with code examples and deployment considerations.
KoaMiddle TierNode.js
0 likes · 17 min read

This article explains what OpenResty is, details its underlying Nginx‑Lua architecture—including Lua coroutines, cosocket, and multi‑stage processing—compares its performance with other web platforms, and describes its practical deployment and multi‑level caching strategy in JD.com's high‑traffic Jshop sale system.
CachingLuaOpenResty
0 likes · 12 min read

This article explains why scalability is essential for web apps and outlines core architectural principles—separation of concerns and horizontal scaling—along with practical server roles, load balancing, CDN usage, and worker processes to handle high traffic efficiently.
Horizontal ScalingSeparation of Concernsload-balancing
0 likes · 8 min read

This article examines the evolution from backend template engines to SPA, highlights SPA's SEO and first‑paint drawbacks, and presents a detailed Vue server‑side rendering implementation with optimization techniques, degradation strategies, and performance results showing over 300% faster first‑screen rendering.
CachingNode.jsSSR
0 likes · 16 min read

This article explains serverless concepts for front‑end developers, outlines its evolution, benefits, and architecture—including BFF layers and SSR—then demonstrates a complete vocabulary mini‑program built with cloud functions, storage, monitoring, debugging, testing, deployment, and operational best practices.
BFFDevOpsFrontend Development
0 likes · 15 min read

iQiyi’s PC Web live player has progressed from a Flash‑only design, through a hybrid Flash/H5 solution, to a fully integrated, plugin‑based architecture comprising UniPlayer, PlayerCore and modular plugins that streamline business logic, improve extensibility, and support diverse browsers, formats, ads, multilingual and barrage features.
Flash migrationHTML5 videoVideo Streaming
0 likes · 9 min read

An in‑depth guide walks through the essential layers of modern website architecture—including front‑end optimization, application frameworks, service distribution, storage solutions, backend processing, monitoring, security, and data‑center design—offering practical strategies for building high‑performance, scalable web systems.
OperationsSecurityfrontend
0 likes · 11 min read

This article explains what proxy servers are, why they are used to improve speed, enhance security, and bypass restrictions, and details the concepts, functions, and distinctions between forward proxies and reverse proxies, including their roles in caching, load balancing, and network protection.
CachingProxyforward proxy
0 likes · 7 min read

This article outlines a comprehensive, multi‑layer web architecture covering front‑end optimization, application‑level frameworks, service‑oriented components, storage solutions, backend analytics, monitoring, security measures, and data‑center design for building highly scalable and reliable websites.
Scalable DesignSecurityfrontend
0 likes · 12 min read

REST, an architectural style defined by Roy Fielding, structures web APIs around resources identified by URIs, exchanged as representations, and manipulated through stateless, uniform HTTP methods that enforce constraints such as client‑server separation, caching, layered systems, and optional code‑on‑demand to ensure scalable, predictable interactions.
APIHTTPREST
0 likes · 13 min read


21CTOSep 5, 2018 · Fundamentals
This article outlines a comprehensive web system architecture, detailing the layered components—from flexible load‑balancing strategies and service communication layers to various storage solutions—while highlighting practical considerations, trade‑offs, and best‑practice recommendations for building scalable, reliable backend services.
Storage Systemsbackend designsystem scalability
0 likes · 21 min read

This article outlines the step‑by‑step evolution of a Java web e‑commerce platform, covering initial single‑machine deployment, server‑database separation, application clustering, load‑balancing algorithms, session handling, read‑write splitting, caching, database sharding, microservice decomposition, and the introduction of messaging middleware to achieve a scalable, resilient architecture.
CachingJavamicroservices
0 likes · 17 min read

In this interview, Hulu senior engineer Cheng Mo shares how the company transitioned from jQuery and Backbone to React, discusses the challenges of server‑side rendering, offers practical advice on framework selection, learning curves, React's future, and tips for front‑end developers preparing for interviews.
Developer AdviceFramework MigrationFrontend Development
0 likes · 7 min read

This article explores the philosophical limits of design patterns and then dives into three core backend architectural patterns—Middleware, MVC, and Dependency Injection—illustrating their purpose, implementation in Node.js frameworks like Express and Koa, and their impact on code modularity and scalability.
ExpressKoaMVC
0 likes · 12 min read


21CTOApr 5, 2018 · Backend Development
This article reviews how Tmall’s product‑detail and other browsing systems were transformed through static‑page generation, multi‑level caching, unified web cache layers and CDN deployment to handle Double‑11 traffic spikes while improving performance, availability, and cost efficiency.
CDNHigh Availabilitystaticization
0 likes · 17 min read

The article outlines a step‑by‑step evolution of a web application from a single‑machine deployment to a fully distributed architecture, covering server separation, clustering, load‑balancing algorithms, session handling, read‑write splitting, search engine integration, caching, database sharding, service‑oriented decomposition, and message‑queue middleware.
Cachingdatabase shardingload-balancing
0 likes · 18 min read

This article explains the origins, core concepts, design principles, common misconceptions, and maturity levels of RESTful APIs, illustrating how resources, representations, HTTP verbs, and hypermedia (HATEOAS) together enable scalable, decoupled web services for modern client platforms.
API DesignHTTPREST
0 likes · 13 min read


21CTOSep 23, 2017 · Backend Development
This article explains how the Qudian team built a lightweight Koa‑based front‑back end separation framework called koa‑grace, covering its architecture, routing, data proxying, deployment strategies, performance benchmarks, and open‑source resources for developers seeking efficient web application development.
KoaNode.jsfront‑back end separation
0 likes · 14 min read


21CTOJul 19, 2017 · Frontend Development
This article examines the evolving definition of front‑back end separation, critiques traditional SPA models, proposes a responsibility‑based split where the front‑end handles view and controller while the back‑end manages the model, and outlines a NodeJS‑driven full‑stack solution with practical implementation insights.
full-stacknodejsseparation
0 likes · 16 min read

This article compares the three most widely used load‑balancing solutions—Nginx, LVS, and HAProxy—detailing their advantages, disadvantages, suitable deployment scenarios, and how they fit into typical web architecture stages from small‑scale sites to large‑scale services.
HAProxyLVSnetwork operations
0 likes · 15 min read

This article shares a veteran operations leader’s insights on DevOps fundamentals, the comprehensive ops knowledge system and career paths, the evolution of small‑business web architectures, and the step‑by‑step development of a full‑chain automation platform, emphasizing both technical and soft‑skill growth.
DevOpsInfrastructurecareer development
0 likes · 17 min read


21CTOApr 29, 2017 · Backend Development
This article explains how to design a high‑traffic website architecture by layering the system, addressing performance, availability, scalability, extensibility, and security, and outlines metrics and testing methods for ensuring reliable, fast, and secure operation.
BackendSecurityperformance
0 likes · 10 min read

The article examines Youku's large‑scale video platform architecture, detailing its traffic statistics, hardware setup, custom front‑end CMS, evolution of MySQL replication to vertical partitioning and sharding, caching policies, and CDN usage that together enable high‑performance video delivery.
CDNYoukuweb architecture
0 likes · 6 min read

This article traces the historical development of the Web, explains how Roy Fielding’s doctoral research defined the REST architectural style, outlines its six core constraints, and details why REST remains the foundational design principle for modern web APIs and distributed systems.
RESTweb architecture
0 likes · 22 min read

This article surveys the technical architectures of major web platforms—including Wikipedia, Facebook, Yahoo Mail, Twitter, Google App Engine, Amazon, and Youku—highlighting their load‑balancing, caching, database, and scaling strategies to reveal how they handle massive traffic and data volumes.
BackendCachingdatabases
0 likes · 10 min read

This article explains the essential design principles, trade‑offs, and core components—such as availability, performance, reliability, scalability, manageability, and cost—required to build large‑scale, high‑availability web systems and illustrates them with an image‑hosting example.
Cachingdistributed systemsweb architecture
0 likes · 37 min read

This article walks through the typical evolution of a growing website—from separating web and database servers to adding caching layers, load balancing, sharding, and distributed systems—explaining why each change is needed and what knowledge areas it touches.
BackendCachingdatabase sharding
0 likes · 11 min read

This article explains the layered architecture of a web system, covering flexible component choices, load‑balancing techniques, business service and communication layers, various storage options—including file, block, and object storage—and key evaluation criteria for building robust, cost‑effective solutions.
Data Storagesystem designweb architecture
0 likes · 20 min read

This article explains practical techniques for improving web service availability—such as static‑dynamic separation, CDN acceleration, distributed file systems, service decomposition, and database sharding—while minimizing code changes and addressing common scaling challenges.
CDNHigh Availabilityscaling
0 likes · 5 min read


21CTOJul 17, 2016 · Backend Development
An overview of how web system architecture has progressed from early single‑machine setups using PC servers to multi‑machine clusters, business and application splitting, distributed caching, CDN, load balancing, and service‑oriented designs, illustrating the continuous evolution toward scalable, resilient backend infrastructures.
BackendCachingload-balancing
0 likes · 7 min read

Learn how to construct a robust web infrastructure by deploying HAProxy as a reverse proxy, implementing high‑availability with Keepalived, balancing loads across DNS, setting up dynamic and static servers, configuring MySQL master‑slave replication, integrating caching layers, and leveraging CDN, monitoring, and automation tools for optimal performance.
CDNCachingHAProxy
0 likes · 17 min read

This article explains how startup engineers can design and evolve a scalable web architecture—covering server partitioning, load balancing, distributed caching, database replication, and team organization—to handle rapid user growth without compromising performance or reliability.
Database ReplicationDistributed Cachingload-balancing
0 likes · 16 min read

An overview of the front‑end, back‑end programming languages and databases employed by major web services such as Google, YouTube, Facebook, Amazon and others, illustrating the diverse technology stacks that power large‑scale websites.
Tech Stackdatabasesprogramming languages
0 likes · 4 min read

This article explains the key design principles—availability, performance, reliability, scalability, manageability and cost—and practical techniques such as service decomposition, redundancy, partitioning, caching, proxying, indexing, load balancing and queuing that enable large‑scale web applications to remain fast, reliable and cost‑effective.
Cachingdistributed systemsload-balancing
0 likes · 34 min read


21CTOMar 2, 2016 · Operations
This article outlines the architecture of large‑scale dynamic web applications, detailing essential subsystems such as the web front‑end, load balancer, database cluster, caching layer, distributed storage, server management, and code deployment, and explains how they work together to ensure reliability, scalability, and maintainability.
CachingDatabase ClusteringServer Management
0 likes · 9 min read


21CTOFeb 23, 2016 · Backend Development
This article shares a 14‑year journey of building and evolving website architectures, from a simple personal homepage to billion‑page platforms, highlighting essential accumulation, knowledge structuring, design principles, infrastructure, software engineering practices, and the nuanced differences across business systems.
backend developmentscalable systemssite scaling
0 likes · 31 min read

This article compares two system architecture designs—one with fast but unstable response times and another with consistent performance—by introducing the Apdex (Application Performance Index) metric, explaining its satisfaction thresholds, calculation method, and how it helps objectively select the superior option.
ApdexUser Experienceweb architecture
0 likes · 3 min read


21CTODec 9, 2015 · Backend Development
This article explains how Worktile’s team collaboration platform combines a single‑page AngularJS front‑end with Node.js, Redis, MongoDB, and ejabberd XMPP services to achieve cross‑platform access, native‑like interactions, and high‑performance real‑time updates for over 100,000 teams.
AngularJSMEAN stackNode.js
0 likes · 10 min read


21CTONov 21, 2015 · Backend Development
This article outlines the common pitfalls programmers face on the path to web architecture, emphasizes mastering object‑oriented fundamentals, design patterns, and refactoring, and provides a detailed roadmap of the technical, operational, and managerial knowledge required to become a competent web architect.
backend developmentcareer developmentdesign patterns
0 likes · 19 min read

The article explains how startup engineers can design and evolve a scalable web architecture—through service separation, clustering, load balancing, distributed caching, database replication, and effective team organization—to handle rapid user growth and maintain performance without compromising user experience.
CachingDatabase Replicationload-balancing
0 likes · 16 min read


21CTOOct 10, 2015 · Backend Development
With growing website traffic, single‑machine deployments struggle, so this article examines four session‑management strategies—session stickiness, replication, centralized storage, and cookie‑based approaches—detailing their mechanisms, advantages, and drawbacks to help you select the best solution for scalable web applications.
Session Managementbackend scalingdistributed systems
0 likes · 6 min read


21CTOSep 26, 2015 · Backend Development
This article examines the key challenges of building large‑scale, high‑interaction web 2.0 platforms—including massive data processing, concurrency control, file storage, indexing, distributed architecture, AJAX usage, security, synchronization, clustering, and OpenAPI integration—offering practical considerations for robust backend design.
ConcurrencyData ManagementStorage
0 likes · 8 min read

The article explains the origin of RESTful architecture, defines its key concepts of resources, representations, and state transfer, outlines how HTTP verbs map to operations, and highlights typical design mistakes such as verb‑laden URIs and versioning in the URI path.
APIHTTPREST
0 likes · 9 min read

This article distills the key takeaways from the book “50 Principles of High‑Scalability Websites,” presenting concise guidelines on avoiding over‑design, planning capacity, simplifying architecture, optimizing DNS and assets, leveraging horizontal scaling, proper database usage, caching, fault isolation, asynchronous messaging, and continuous learning to build robust, easily extensible web systems.
CachingDatabase Designcloud computing
0 likes · 15 min read

The article provides a comprehensive overview of Flickr’s web architecture, detailing its massive traffic statistics, load‑balancing, PHP application servers, MySQL dual‑tree sharding, Memcached caching, search engine integration, and the evolution of its replication and scaling strategies.
FlickrMemcachedscalability
0 likes · 19 min read

The article explains how applying asynchronous programming and the actor model to browser‑client interactions—using Ajax polling, read‑write separation, and non‑blocking request patterns—can improve throughput, avoid timeouts, and enable independent optimization of read and write services in high‑concurrency web applications.
AJAXactor modelasynchronous
0 likes · 7 min read

This article compares the three most widely used load‑balancing solutions—Nginx, LVS, and HAProxy—detailing their advantages, disadvantages, typical use‑cases, and how to select the appropriate technology as web traffic scales from small sites to large‑scale services.
Operationsweb architecture
0 likes · 14 min read

The article traces web architecture’s evolution from simple single‑server Java/JSP sites through memory caching, load‑balanced multi‑machine logic, read/write separation, master‑slave replication or message‑queue syncing, horizontal/vertical sharding, and finally multi‑server web‑server deployments behind load balancers to achieve scalability and reliability.
Cachingdatabase shardingdistributed systems
0 likes · 25 min read
