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.
The Latest
If there's one thing we should tame in today's data-driven marketing landscape, this would be data debt, a silent menace threatening to undermine all the trust you've put in the data-driven decisions that guide your strategies. This blog aims to explore the true costs of data debt in marketing operations, offering four actionable strategies to mitigate them through enhanced marketing observability ...
Gartner has highlighted the top trends that will impact technology providers in 2024: Generative AI (GenAI) is dominating the technical and product agenda of nearly every tech provider ...
In MEAN TIME TO INSIGHT Episode 4 - Part 1, Shamus McGillicuddy, VP of Research, Network Infrastructure and Operations, at Enterprise Management Associates (EMA) discusses artificial intelligence and network management ...
The integration and maintenance of AI-enabled Software as a Service (SaaS) applications have emerged as pivotal points in enterprise AI implementation strategies, offering both significant challenges and promising benefits. Despite the enthusiasm surrounding AI's potential impact, the reality of its implementation presents hurdles. Currently, over 90% of enterprises are grappling with limitations in integrating AI into their tech stack ...
In the intricate landscape of IT infrastructure, one critical component often relegated to the back burner is Active Directory (AD) forest recovery — an oversight with costly consequences ...
eBPF is a technology that allows users to run custom programs inside the Linux kernel, which changes the behavior of the kernel and makes execution up to 10x faster(link is external) and more efficient for key parts of what makes our computing lives work. That includes observability, networking and security ...
Data mesh, an increasingly important decentralized approach to data architecture and organizational design, focuses on treating data as a product, emphasizing domain-oriented data ownership, self-service tools and federated governance. The 2024 State of the Data Lakehouse report from Dremio presents evidence of the growing adoption of data mesh architectures in enterprises ... The report highlights that the drive towards data mesh is increasingly becoming a business strategy to enhance agility and speed in problem-solving and innovation ...
Too much traffic can crash a website ... That stampede of traffic is even more horrifying when it's part of a malicious denial of service attack ... These attacks are becoming more common, more sophisticated and increasingly tied to ransomware-style demands. So it's no wonder that the threat of DDoS remains one of the many things that keep IT and marketing leaders up at night ...
Today, applications serve as the backbone of businesses, and therefore, ensuring optimal performance has never been more critical. This is where application performance monitoring (APM) emerges as an indispensable tool, empowering organizations to safeguard their applications proactively, match user expectations, and drive growth. But APM is not without its challenges. Choosing to implement APM is a path that's not easily realized, even if it offers great benefits. This blog deals with the potential hurdles that may manifest when you actualize your APM strategy in your IT application environment ...