Publisher: O'Reilly Media
Final Release Date: May 2006
Pages: 352
Learn the tricks of the trade so you can build and architect applications that scale quickly--without all the high-priced headaches and service-level agreements associated with enterprise app servers and proprietary programming and database products. Culled from the experience of the Flickr.com lead developer, Building Scalable Web Sites offers techniques for creating fast sites that your visitors will find a pleasure to use.
Creating popular sites requires much more than fast hardware with lots of memory and hard drive space. It requires thinking about how to grow over time, how to make the same resources accessible to audiences with different expectations, and how to have a team of developers work on a site without creating new problems for visitors and for each other.
Presenting information to visitors from all over the world
Integrating email with your web applications
Planning hardware purchases and hosting options to have as much as you need without breaking your wallet
Partitioning and distributing databases to support large datasets and simultaneous transactions
Monitoring your applications to find and clear bottlenecks
* Providing services APIs and using services from other providers to increase your site's reach and capabilities
Whether you're starting a small web site with hopes of growing big or you already have a large system that needs maintenance, you'll find Building Scalable Web Sites to be a library of ideas for making things work.
|
-
Chapter 1 Introduction -
What Is a Web Application? -
How Do You Build Web Applications? -
What Is Architecture? -
How Do I Get Started? -
Chapter 2 Web Application Architecture -
Layered Software Architecture -
Layered Technologies -
Software Interface Design -
Getting from A to B -
The Software/Hardware Divide -
Hardware Platforms -
Hardware Platform Growth -
Hardware Redundancy -
Networking -
Languages, Technologies, and Databases -
Chapter 3 Development Environments -
The Three Rules -
Use Source Control -
One-Step Build -
Issue Tracking -
Scaling the Development Model -
Coding Standards -
Testing -
Chapter 4 i18n, L10n, and Unicode -
Internationalization and Localization -
Unicode in a Nutshell -
Unicode Encodings -
The UTF-8 Encoding -
UTF-8 Web Applications -
Using UTF-8 with PHP -
Using UTF-8 with Other Languages -
Using UTF-8 with MySQL -
Using UTF-8 with Email -
Using UTF-8 with JavaScript -
Using UTF-8 with APIs -
Chapter 5 Data Integrity and Security -
Data Integrity Policies -
Good, Valid, and Invalid -
Filtering UTF-8 -
Filtering Control Characters -
Filtering HTML -
Cross-Site Scripting (XSS) -
SQL Injection Attacks -
Chapter 6 Email -
Receiving Email -
Injecting Email into Your Application -
The MIME Format -
Parsing Simple MIME Emails -
Parsing UU Encoded Attachments -
TNEF Attachments -
Wireless Carriers Hate You -
Character Sets and Encodings -
Recognizing Your Users -
Unit Testing -
Chapter 7 Remote Services -
Remote Services Club -
Sockets -
Using HTTP -
Remote Services Redundancy -
Asynchronous Systems -
Exchanging XML -
Lightweight Protocols -
Chapter 8 Bottlenecks -
Identifying Bottlenecks -
External Services and Black Boxes -
Chapter 9 Scaling Web Applications -
The Scaling Myth -
Scaling the Network -
Load Balancing -
Scaling MySQL -
MyISAM -
MySQL Replication -
Database Partitioning -
Scaling Large Database -
Scaling Storage -
Chapter 10 Statistics, Monitoring, and Alerting -
Tracking Web Statistics -
Application Monitoring -
Alerting -
Chapter 11 APIs -
Data Feeds -
Mobile Content -
Web Services -
API Transports -
API Abuse -
Authentication -
The Future -
Colophon |
- Title:
- Building Scalable Web Sites
- By:
- Cal Henderson
- Publisher:
- O'Reilly Media
- Formats:
-
- Print
- Ebook
- Safari Books Online
- Print:
- May 2006
- Ebook:
- December 2008
- Pages:
- 352
- Print ISBN:
- 978-0-596-10235-7
- | ISBN 10:
- 0-596-10235-6
- Ebook ISBN:
- 978-0-596-15947-4
- | ISBN 10:
- 0-596-15947-1
|
-
Cal Henderson Cal Henderson has been a web applications developer for far too long and should really start looking for a serious job. Originally from England, he currently works at Yahoo! Inc in San Francisco, California as the Director of Engineering for the photo-sharing service Flickr. Before Flickr, he was the technical director of Special Web Projects at emap, a UK media company. By night he works for a whole slew of web sites and communities, including the creative community B3TA and his personal site, iamcal. In his spare time, he writes windows software, develops web publishing tools, and writes occasional articles about web application development and security. View Cal Henderson's full profile page. |
Colophon The animal on the cover of Building Scalable Web Sites is a carp (Cyprinus carpio). The carp is a fish whose reputation varies greatly depending on who you ask. In some countries, such as Taiwan and Japan, the carp is generally regarded as a sign of good fortune. Carp are bred for their beautiful colors and are featured prominently in Japanese gardens. Carp also enjoy a special place in Japanese art-painters have often used the fish to symbolize persistence, longevity, and fertility.In other parts of the world, the carp is seen as a nuisance and has become a target for removal. In the United States, for example, carp are sometimes poisoned so that different fish can be introduced. However, the carp's ability to adapt and even thrive in the harshest of conditions have made such extermination efforts difficult. In Australia, the carp has an even worse reputation. Studies have shown that carp, which are not indigenous and were introduced illegally to the continent, are destructive to Australian ecologies. As a result, strict laws have been put into place-for example, if you catch a carp while fishing, it is illegal to return it to the water.The carp's reputation as a food also varies depending on where you are. Carp is routinely served in many Asian countries, such as China, Taiwan, Japan, and Korea. In some Eastern European countries, carp is served on special occasions and is a traditional Christmas Eve meal. In North America, on the other hand, carp is largely considered to be too boney and fishy tasting for eating.Even the carp's status as a game fish varies from place to place. Among the toughest fighting freshwater fish, the carp would seem to be the ideal challenge for anglers all over the world. However, in the U.S., the carp is not considered to be a top game fish, although that is beginning to change. But Europeans take carp fishing much more seriously, and top anglers come together for competitions all over Europe.The cover image is from Cassell's Natural History. The cover font is Adobe ITC Garamond. The text font is Linotype Birka; the heading font is Adobe Myriad Condensed; and the code font is LucasFont's TheSans Mono Condensed. |
|
Table of Contents
|
Product Details
|
About the Author
|
Colophon
|
 |
|
 |
|
|
|
Recommended for You
|
Recently Viewed
|
 |
|
By Cricket Liu, Paul Albitz
May 2006
Ebook:
$39.99
Print & Ebook:
$54.99
Print:
$49.99
|
Customer Reviews
10/7/2010 (5 of 7 customers found this review helpful) 2.0It is not interesting at all By dmarsentev from Moscow, Russia About Me Developer, Educator 5/5/2009 (1 of 2 customers found this review helpful) 7/27/2008 5.0A must read for those in the web space By Bill D from Undisclosed By joshSVUG from Undisclosed
|
|
|