Skip to Content
Full Stack Web Performance
book

Full Stack Web Performance

by Tom Barker
November 2017
Intermediate to advanced
38 pages
39m
English
O'Reilly Media, Inc.
Content preview from Full Stack Web Performance

Chapter 2. Accomplishing Web Performance Wins via Infrastructure

When looking holistically at your stack, there are some significant wins that you can gain through your infrastructure without implementing huge architectural changes. If you are not already doing so, using a Content Delivery Network (CDN) will show immediate and significant performance improvements, just like utilizing an elastic cloud platform will allow you to scale on demand to prevent performance bottlenecks. Let’s take a look.

Using a CDN

A CDN is a globally distributed network for hosting and serving data. Although it is possible to set up your own private CDN, this requires setting up a lot of infrastructure. So, for the purposes of this book, we will discuss the commercial options available for the following:

  • Edge caching

  • Global traffic management

Edge Caching: Serving Your Application as Close as Possible to Your User

One of the biggest causes of latency on the server side is simply the proximity of your end users to the machines serving your application. It’s pure physics: data is transmitted as light down fiber-optic lines but, at best, data travels at two-thirds the speed of light, so the closer your visitors are to your server, the faster they receive the data. Many companies utilize multiple datacenters across the country (and around the world), so presumably, you might have content served from each coast, but what if you could serve content from the same state or even the same city? That’s the ...

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 in Action

Web Performance in Action

Jeremy Wagner
Web performance basics

Web performance basics

Maximiliano Firtman
Object-Oriented Data Structures Using Java, 4th Edition

Object-Oriented Data Structures Using Java, 4th Edition

Nell Dale, Daniel T. Joyce, Chip Weems
Front-end Performance

Front-end Performance

Bruno Skvorc, Craig Buckler, Maria Antonietta Perna, Ivan Curic

Publisher Resources

ISBN: 9781491991640