cft

How Server Location Affects your Users’ Experience

Here is where things get tricky.


user

John Demian

3 years ago | 5 min read

So you finally launched your service worldwide, great! The next thing you’ll see is thousands and thousands of people flooding into your amazing website from all corners of the world expecting to have the same experience regardless of their location.

Here is where things get tricky.

Delivering the same amazing service to different regions of the world is a challenge that most companies face, a challenge that’s difficult to solve without proper tooling, such as Sematext

Sematext Experience is a RUM solution that provides insightful data about how your webapp is performing in all the different corners of the world by measuring data in real-time directly from your users. Read more about real user monitoring and how it can help improve customer experience in our RUM guide.

In this post, we are going to see how server location affects your website performance and how you can measure it to ensure a flawless experience for all your users.

Server Location and Application Performance

There are no two ways about it. Your app will react differently based on your user’s location and it has to do with something we call server latency.

The experience of your customers living in a different part of the world will be vastly different from what you are seeing in your tests. It’s crucial to gather data from every location that your users live in, that way you can take the necessary steps to fix the issue.

What Is Latency?

Latency is the time it takes for a request to travel from the sender to the receiver and for the receiver to process that request. In other words, it’s the time it takes for the request sent from the browser to be processed and returned by the server.

Consider a simple e-commerce store that caters to users worldwide. High latency will make browsing categories and products very difficult and in a space as competitive as online retailing, the few extra seconds can amount a fortune in lost sales.

Why Should You Measure Network Latency?

Providing an overall good service across the world is not just good for your image, it’s good for your business. You’ll soon come to realize that bad user experience will affect your bottom line directly.

To use the eCommerce example again here is a little quote from Yoast that will put things into perspective:

79% of online shoppers say they won’t go back to a website if they’ve had trouble with load speed.

And let’s not forget that fast-loading sites have higher conversion rates and lower bounce rates. So it’s not a matter of whether you should or shouldn’t invest in optimizing your load speed across multiple regions, but rather if you can afford not to.

What Causes Network Latency

There are thousands of little variables that make up your network latency but they mainly fall under one of these 4 categories:

  • Transmission mediums - Your data travels across large distances in different forms, either through electrical signals over copper cabling, light waves over fiber optics. Every time it switches from one medium to another a few extra milliseconds will be added to the overall transmission time.
  • Payload - The more data gets transferred the slower the communication between client and server.
  • Routers - Take time to analyze the header information of a packet and, in some cases, add additional information. Each hop a packet takes from router to router increases the latency time. Furthermore, depending on the device there can be MAC address and routing tables lookups.
  • Storage Delays - Delays can occur when a packet is stored or accessed. This results in a delay caused by intermediate devices like switches and bridges.

How to Measure Network Latency?

Network Latency is always measured in milliseconds (ms) and exposed through two metrics - Time to First Byte and Round Trip Time. You can use either of them for the test on your network.

However, regardless of what you choose, make sure to keep all records in the same test category. It’s important to monitor any changes and address the culprits if you want to ensure a smooth user experience and keep your customer satisfaction score high.

Time to First Byte

Time to First Byte (TTFB) is the time the first byte of each file reaches the user’s browser after a server connection has been established.

The TTFB itself is affected by three main factors:

  • The time it takes for your request to propagate through the network to the web server
  • The time it takes for the web server to process the request and generate the response
  • The time it takes for the response to propagate back to your browser.

Round Trip Time

Round Trip Time (RTT), also called Round Trip Delay (RTD) is the duration it takes for a browser to send a request and receive a response from a server. RTT is perhaps the most popular metric involved in measuring network latency and it is measured in milliseconds (ms).

RTT is influenced by a few key components of your network:

  • *Distance *– The bigger the distance between server and client the longer it takes to get the signal back
  • Transmission medium – The medium used to route a signal
  • The number of network hops – Intermediate routers or servers take time to process a signal, increasing RTT. The more hops a signal has to travel through, the higher the RTT.
  • Traffic levels – RTT typically increases when a network is congested with high levels of traffic. Conversely, low traffic times can result in decreased RTT.

Using RUM Tools to Reduce Latency

So you’ll be dealing with a userbase that’s spread across multiple continents, you understand the importance of keeping your performance in good standing regardless of the user location and you even understand what you need to look for. All there’s left is the “how” part.

In the past few years, the popularity of RUM tools grew exponentially as a byproduct of the increased number of companies that took their services and products globally. An ever-growing need to monitor and understand user behavior led to a lot of monitoring companies switching from just monitoring server resources to looking at how users experience the website.

We’ve created Sematext Experience as a response to that very need. The tool offers a real-time overview of your users’ interactions with the website, allowing you to pinpoint exactly where your system is underperforming. Here’s a little youtube video of the Sematext Experience demo.

Besides providing key information on how the website is performing across different locations, it will also provide intel on how the website loads on different devices running at different connection speeds.

Final thoughts

Understanding how the users’ experience is always going to be crucial as it will influence whether or not they will return to the site or not which in turn, will directly impact your bottom line.

Upvote


user
Created by

John Demian

Switching to a marketing role after being a developer for over a decade has given me a unique perspective on the tech industry and its intricacies. Dad. Husband. Professional(aspiring) Taco eater.


people
Post

Upvote

Downvote

Comment

Bookmark

Share


Related Articles