Web Performance 101: 4 Recommendations to Improve Web Performance
Web Performance and the impact of SPDY, HTTP/2 and QUIC
April 22, 2016

Jean Tunis
RootPerformance

Share this

As websites continue to advance, the underlying protocols that they run on top of must change in order to meet the demands of user expected page load times. This blog is the second in a series on APMdigest where I will discuss web application performance and how new protocols like SPDY, HTTP/2, and QUIC will hopefully improve it so we can have happy website users.

Start with Web Performance 101: The Bandwidth Myth

Here are some common recommendations to optimize the steps of a web page request. Having looked at a number of web applications over the years, there have been numerous recommendations I have made over and over. Each web app is different, so these recommendations don't apply to every one of them, but should offer some guidance.

1. Reduce latency between user and server

I talked about this one in my last blog. It's not the bandwidth that matters most; it's latency. You need to reduce time it takes for a packet to go from your user or visitor to your server.

Whether the users are coming from the Internet or within the Intranet, the goal is to make the latency is short as possible. You can't get around the physics around distance, but there are some things you can do.

Externally, you have CDN providers that can help caching. Internally, you can deploy WAN optimization devices to do the same, and more.

If you have more control, you can simply ensure that your application is used by those who are closer to the server.

Closer distance between user and server can mask a lot of issues with an efficient application.

2. Increase number of connections, but up to a point

You want to maximize the number of connections you are making to the server to get as much data back to the visitor as possible. With HTTP/1.1, you don't want just one connection.

But you don't want too many connections either. Too many will start to impact the resources on both the server and the visitor's PC. And that would be bad for web performance.

Opening up these connections takes time as well. The TCP 3-way handshake needs to occur. It would occur every time, and if latency is not low enough, site visitors are impacted by this for every new connection that gets opened.

3. Compress all data

You want to minimize the amount of data that gets sent to the visitor's browser for it to download or render on the computer screen. So file sizes should only be as big as they need to be. If they cannot get any smaller, they should be compressed if that's possible.

This is something that doesn't happen enough. Nearly every modern browser supports gzip compression, yet some servers out there still do not have it implemented.

4. Increase server resources

Like bandwidth, server resources have become less of a constraint over the years. We now have multi-core, GHz processors, TB storage, GB RAM, etc. But there are still times when a website is using up these resources, and the immediate way to reduce response time may be to increase server resources. Due to the availability of such resources, it's usually not a big issue upgrading.

There are many other recommendations. This is just a sample of the things that can be done to improve web performance.

In upcoming blogs on APMdigest, I will explore the impact of SPDY, HTTP/2 and QUIC on web performance.

Jean Tunis is Principal Consultant and Founder of RootPerformance
Share this

The Latest

April 19, 2024

In MEAN TIME TO INSIGHT Episode 5, Shamus McGillicuddy, VP of Research, Network Infrastructure and Operations, at EMA discusses the network source of truth ...

April 18, 2024

A vast majority (89%) of organizations have rapidly expanded their technology in the past few years and three quarters (76%) say it's brought with it increased "chaos" that they have to manage, according to Situation Report 2024: Managing Technology Chaos from Software AG ...

April 17, 2024

In 2024 the number one challenge facing IT teams is a lack of skilled workers, and many are turning to automation as an answer, according to IT Trends: 2024 Industry Report ...

April 16, 2024

Organizations are continuing to embrace multicloud environments and cloud-native architectures to enable rapid transformation and deliver secure innovation. However, despite the speed, scale, and agility enabled by these modern cloud ecosystems, organizations are struggling to manage the explosion of data they create, according to The state of observability 2024: Overcoming complexity through AI-driven analytics and automation strategies, a report from Dynatrace ...

April 15, 2024

Organizations recognize the value of observability, but only 10% of them are actually practicing full observability of their applications and infrastructure. This is among the key findings from the recently completed Logz.io 2024 Observability Pulse Survey and Report ...

April 11, 2024

Businesses must adopt a comprehensive Internet Performance Monitoring (IPM) strategy, says Enterprise Management Associates (EMA), a leading IT analyst research firm. This strategy is crucial to bridge the significant observability gap within today's complex IT infrastructures. The recommendation is particularly timely, given that 99% of enterprises are expanding their use of the Internet as a primary connectivity conduit while facing challenges due to the inefficiency of multiple, disjointed monitoring tools, according to Modern Enterprises Must Boost Observability with Internet Performance Monitoring, a new report from EMA and Catchpoint ...

April 10, 2024

Choosing the right approach is critical with cloud monitoring in hybrid environments. Otherwise, you may drive up costs with features you don’t need and risk diminishing the visibility of your on-premises IT ...

April 09, 2024

Consumers ranked the marketing strategies and missteps that most significantly impact brand trust, which 73% say is their biggest motivator to share first-party data, according to The Rules of the Marketing Game, a 2023 report from Pantheon ...

April 08, 2024

Digital experience monitoring is the practice of monitoring and analyzing the complete digital user journey of your applications, websites, APIs, and other digital services. It involves tracking the performance of your web application from the perspective of the end user, providing detailed insights on user experience, app performance, and customer satisfaction ...

April 04, 2024
Modern organizations race to launch their high-quality cloud applications as soon as possible. On the other hand, time to market also plays an essential role in determining the application's success. However, without effective testing, it's hard to be confident in the final product ...