Skip to Content
Web Performance Tuning, 2nd Edition
book

Web Performance Tuning, 2nd Edition

by Patrick Killelea
March 2002
Intermediate to advanced
482 pages
16h 11m
English
O'Reilly Media, Inc.
Content preview from Web Performance Tuning, 2nd Edition

Chapter 2. Web Site Architecture

There are many trade-offs to make in designing a web site, which involve many possible components and configurations. What you need depends on what you’re trying to do; one size does not fit all. This chapter goes over the fundamental problems that everyone runs into.

Trade-offs

There are a number of trade-offs to make in designing a web site architecture: state versus scalability, replication versus simplicity, synchronous versus asynchronous, connectionful versus connectionless, speed of development versus planning, and procedural versus object-oriented programming.

State Versus Scalability

Left to its own devices, a web site has no ability to remember individual users from one web transaction to the next. In such “stateless” web sites, users have no particular information that needs to be tracked. The web site has complete amnesia about your previous visits. It delivers the page without considering whether you’ve asked for it before or what other pages you’ve viewed.

Web sites that have no user state have no problem with scalability. Stateless web sites are easily replicated for scalability by load balancing across many servers, even if the content is dynamic (for example, a site that serves stock quotes or weather information), as long as the source of that dynamic data can be replicated. Since the web servers are all functionally the same, it does not matter if a user gets the home page from one server, then hits a different server when he clicks ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Web Performance Tuning

Web Performance Tuning

Patrick Killelea
Web performance basics

Web performance basics

Maximiliano Firtman

Publisher Resources

ISBN: 059600172XErrata Page