Skip to content
Research

The round trip from Accra

Most of the apps people in Ghana use are served from Europe or the United States, and every request they make travels there and back. For 22 hours we measured the same small service running in Accra, Johannesburg, Frankfurt and Northern Virginia, from a data centre in Accra and from volunteer machines in five West African cities, to put numbers on what that distance costs the people using an app.

Published Dekka ResearchAbout a 9-minute read

Light in optical fibre travels about 204 kilometres in a millisecond, so a request from Accra to a server in Frankfurt, 5,018 km away, can't come back in less than about 49 ms even over a perfect cable. Real cables don't follow the straight line and every router on the way adds a little, so the round trip we measured was 109 ms. On its own that is too short for anyone to notice. An app rarely sends one request, though. It connects, agrees encryption, fetches a page and its assets and then asks its server for data, usually many times and often waiting for one answer before it can send the next request, and each of those waits costs a whole round trip.

We wanted figures a team building for Ghana could plan with, so as well as ping we measured the waits a person notices, from a new visitor's first request to a page that makes 20 calls, and traced the route the traffic took. The route turned out to matter as much as the distance.

Round trips across the studyDrag the globe to turn it. Each moving dot makes its round trip at a twelfth of the measured speed.

In brief

1.8 ms
round trip from Accra to a server in Accra, against 109 ms to Frankfurt and 171 ms to Northern Virginia
169 ms
round trip to Johannesburg, which is nearer than Frankfurt but reached by way of London
39 ms
for 20 calls one after another to the server in Accra, against 2.2 s to Frankfurt
7.4 ms
from Lagos to the server in Accra, against 112 ms to Frankfurt
  1. A server in Accra answered requests from Accra in 1.8 ms. The same request took 109 ms to Frankfurt, 169 ms to Johannesburg and 171 ms to Northern Virginia.
  2. South Africa was as far away as the United States. Traffic from Accra to Johannesburg went north on the WACS submarine cable and reached Google's network in London before it turned south, a journey of about 14,200 km to a city 4,666 km away.
  3. Every call an app makes in sequence pays the distance again. Twenty calls one after another took 39 ms against the Accra server, 2.2 s against Frankfurt and 3.4 s against Johannesburg.
  4. A new visitor waits several round trips before anything arrives. Connecting, agreeing encryption and receiving the first byte took 22 ms in Accra, against 332 ms from Frankfurt and about half a second from Johannesburg and Northern Virginia.
  5. Small files arrive slowly from far away, whatever the bandwidth. A 100 KB download took 430 ms from Frankfurt and 679 ms from Northern Virginia, because TCP only speeds up once per round trip.
  6. A server in Accra also serves Lagos well, though not every neighbour. From Lagos it answered in 7.4 ms, but from Cotonou, 298 km from Accra, it took 202 ms, longer than Frankfurt's 112 ms.

What we measured

We ran latency-bench, a small open-source service we wrote for this study, in four places. In Accra it ran on a Dekka server in our own data centre, and in Johannesburg, Frankfurt and Northern Virginia it ran on Google Cloud's e2-small machines in the africa-south1, europe-west3 and us-east4 regions. Each copy sat behind a web server that handles encryption, and every copy answers the same requests in the same way, so the differences between them come from where they are and from the networks in between.

We measured them from two kinds of place. A second Dekka machine in the same Accra data centre ran the latency-bench probe every 15 minutes from 12:48 UTC on 24 November to 11:00 UTC on 25 November, 90 runs in all. Each run timed a new visitor's first request, 30 requests on an open connection, 10, 20 and 30 calls one after another, page loads and file transfers, and traced the route to each server. Every hour we also asked Globalping, a network of machines run by volunteers, to ping each server 16 times and time an HTTPS request from its machines in Accra, Lagos, Cotonou, Ouagadougou and Freetown, and every third hour to trace the route.

Round trips

A round trip is the time a small request takes to reach a server and for the answer to come back, on a connection that's already open. From Accra it set the pattern for everything else we measured.

A round trip from AccraMedian of 90 runs, each the median of 30 requests on an open connection
Round tripLower is better
ServerRound trip
Accra (Dekka)1.8 ms
Johannesburg (Google Cloud)169 ms
Frankfurt (Google Cloud)109 ms
Northern Virginia (Google Cloud)171 ms

The server in Accra answered in 1.8 ms, and Globalping's machine in Accra, which sits on another operator's network, pinged it in 0.6 ms. Frankfurt took 109 ms, a little over twice the minimum its distance allows. Johannesburg and Northern Virginia took 169 ms and 171 ms, even though Johannesburg is the nearest of the three, and the route explains why.

Round trips barely varied. Jitter, the average difference between one round trip and the next, had a median under half a millisecond for every server.

A new visitor's first request

A browser visiting a site for the first time has to look up its name, open a connection and agree encryption before it can ask for anything. With TLS 1.3 each step after the name lookup costs about one round trip, so a distant server makes a new visitor wait several times over before the first byte of the page arrives.

A new visitor's first request, from AccraMedians, leaving out the DNS lookup, which depends on the visitor's resolver

ServerConnectEncryptionFirst byteTotal
Accra0.8 ms19 ms2.0 ms22 ms
Johannesburg168 ms178 ms169 ms516 ms
Frankfurt107 ms117 ms109 ms332 ms
Northern Virginia169 ms179 ms171 ms519 ms

From Accra, the Accra server had sent its first byte within 22 ms, while Frankfurt took 332 ms and Johannesburg and Northern Virginia about half a second. We leave the name lookup out of these figures, because how long it takes depends on the visitor's resolver and its cache, wherever the server is.

Calls one after another

Most apps load their data in steps. A screen asks for the signed-in user, then for their accounts, then for each account's recent activity, and each request waits for the previous answer before it can be sent. Every step in a chain like that pays a full round trip, so the delay grows with the number of steps.

Calls an app makes one after another, from AccraEach call waits for the answer to the last, on a connection that's already open
10 callsLower is better
Server10 calls
Accra (Dekka)20 ms
Johannesburg (Google Cloud)1.7 s
Frankfurt (Google Cloud)1.1 s
Northern Virginia (Google Cloud)1.7 s
20 callsLower is better
Server20 calls
Accra (Dekka)39 ms
Johannesburg (Google Cloud)3.4 s
Frankfurt (Google Cloud)2.2 s
Northern Virginia (Google Cloud)3.4 s
A page, its 6 assets, then 20 calls, on a new connectionLower is better
ServerA page, its 6 assets, then 20 calls, on a new connection
Accra (Dekka)191 ms
Johannesburg (Google Cloud)4.7 s
Frankfurt (Google Cloud)3.0 s
Northern Virginia (Google Cloud)4.7 s

Against the Accra server, 20 calls one after another took 39 ms. Against Frankfurt they took 2.2 s, and against Johannesburg and Northern Virginia 3.4 s each. A page that loads its HTML and six assets on a new connection and then makes 20 calls was ready in 191 ms from the Accra server, and took 3.0 s from Frankfurt and 4.7 s from Johannesburg. Each of these servers answered in about a millisecond once a request reached it, so those seconds come from distance alone, and they are the seconds a person spends watching a page fill in.

What it meansCount the requests a screen makes one after another and multiply them by the round trip to your server. From Accra that is about 109 ms a step to Frankfurt and 169 ms to Johannesburg or Northern Virginia, against 1.8 ms to Accra.

Through the day

One measurement can land in a quiet hour or a busy one, so the probe ran every 15 minutes for 22 hours, through the evening and the night as well as office hours.

20 calls one after another, through the dayMedian for each part of the day in Ghana, which keeps UTC all year

ServerNight, 00:00 to 06:00Morning, 06:00 to 12:00Afternoon, 12:00 to 18:00Evening, 18:00 to 24:00
Accra39 ms53 ms40 ms37 ms
Johannesburg3.4 s3.4 s3.4 s3.4 s
Frankfurt2.2 s2.2 s2.2 s2.2 s
Northern Virginia3.4 s3.4 s3.4 s3.4 s

Depending on the time of day, the same 20 calls took between 37 ms and 53 ms against the Accra server, 2.2 s against Frankfurt, 3.4 s against Johannesburg and 3.4 s against Northern Virginia. The Accra server was the fastest in every part of the day, so how far a request travels mattered far more than when it was sent.

Downloads

Bandwidth matters less than people expect for the files apps send most often. TCP starts each connection slowly and raises how much it sends once every round trip, so a small file from a distant server spends most of its time waiting for acknowledgements to come back.

Time to download a file, from AccraOn a connection that's already open
100 KB, about a large imageLower is better
Server100 KB, about a large image
Accra (Dekka)5.0 ms
Johannesburg (Google Cloud)675 ms
Frankfurt (Google Cloud)430 ms
Northern Virginia (Google Cloud)679 ms
1 MB, about a web app's codeLower is better
Server1 MB, about a web app's code
Accra (Dekka)20 ms
Johannesburg (Google Cloud)679 ms
Frankfurt (Google Cloud)434 ms
Northern Virginia (Google Cloud)684 ms

A 100 KB file took 5.0 ms from the Accra server, 430 ms from Frankfurt and 675 ms from Johannesburg, and a 1 MB file took 20 ms, 434 ms and 679 ms. Long transfers do reach full speed in the end, which is why a speed test on a large file says little about how an app will feel.

The long way to Johannesburg

Johannesburg is 4,666 km from Accra, nearer than Frankfurt at 5,018 km, yet its server answered later because the traffic took the long way round. The traces show it leaving Accra on the WACS submarine cable, which runs up the coast of West Africa and Europe to the United Kingdom, and reaching Google's network at the LONAP exchange in London after 94 ms. From London it travelled the length of Africa inside Google's network, about 14,200 km in all.

The route from Accra to JohannesburgRound trip to each point that answered

WhereNetworkRound trip
AccraA Ghanaian carrier, on its way to the WACS submarine cable (AS327814)1 ms
AccraAn international transit network (AS37271)1 ms
LondonThe same transit network, after the submarine cable95 ms
LondonGoogle, at the LONAP exchange94 ms
JohannesburgThe server, inside Google's network169 ms

Traffic to Frankfurt and Northern Virginia took the same cable north and reached Google's network at an internet exchange in London after the same 94 ms, so from our data centre all three servers abroad sat behind one path to London. Where a server sits on a map says little about how near it is to your users, because carriers send traffic where their agreements with other networks are, and the only reliable guide is a measurement taken from where your users are.

Across West Africa

An app built in Ghana often serves customers across the region, so we measured from four other West African cities as well.

Ping from West African citiesThe fastest of 16 pings, as a median across hourly rounds, with each city's nearest server in ink

FromAccraJohannesburgFrankfurtNorthern Virginia
Accra, Ghana0.6 ms168 ms107 ms169 ms
Cotonou, Benin202 ms261 ms112 ms177 ms
Freetown, Sierra Leone97 ms198 ms135 ms212 ms
Lagos, Nigeria7.4 ms77 ms112 ms161 ms
Ouagadougou, Burkina Faso152 ms102 ms124 ms185 ms

Lagos is 407 km from Accra, and from the volunteer machine there the Accra server answered in 7.4 ms, against 77 ms for Johannesburg and 112 ms for Frankfurt. Cotonou is closer still at 298 km, yet its machine took 202 ms to reach the Accra server, longer than the 112 ms it took to reach Frankfurt, which suggests its traffic to Accra travels through Europe. From Ouagadougou, Johannesburg at 102 ms was nearer than Accra at 152 ms, and Freetown reached Accra in 97 ms, ahead of Frankfurt at 135 ms.

What it meansA server in Accra is close to Ghana's own networks and to Lagos, and some neighbours still reach it by way of Europe. Measure from every country you serve before you rely on one regional server for all of them.

Limits

  • Our Accra figures are a best case. The probe and the Accra server sat in the same data centre, and Globalping's machine in Accra uses the same international transit network as our data centre does. A person on mobile data or home broadband adds the delay of their own connection to every round trip, whichever server they reach, so the totals grow while the differences between servers stay.
  • Every vantage in this study was a data centre or a volunteer's server. None was a phone on MTN, Telecel or AT, where most Ghanaians connect, and latency-bench includes a browser test page so those networks can be measured next.
  • The study ran for 22 hours against one cloud provider abroad, and routes change when carriers change their agreements, so a decision that depends on a few milliseconds deserves its own measurement.

What it means for teams building for Ghana

  • Run the parts of your app that answer requests as close to your users as you can, because every request that waits for another pays the full round trip.
  • Cut the number of requests a screen makes one after another, by fetching what it needs in one request or sending independent requests at the same time.
  • Keep connections open and use HTTP/2 or HTTP/3, so a visitor pays for connecting and encryption once.
  • A content delivery network helps with images and code, and the requests that read and write your data still travel to wherever your server is.
  • Measure from the places your users are, on the networks they use, before you choose where to host.

Dekka runs apps, databases and virtual servers in Accra for this reason.

Method and data

latency-bench is open source under the Apache License 2.0 at github.com/dekka-cloud/latency-bench, and the results of every run in this study are in its repository, so anyone can check our figures or repeat the study from their own network. The probe times each step of a new connection with Go's HTTP tracing, takes round trips as the median of 30 requests on one open connection, and traces routes with the machine's own tracepath. Figures from the Accra data centre are medians across runs. Globalping's figures are the fastest of 16 pings in each hourly round, then the median across rounds, which sets aside moments when a volunteer's machine was busy. The servers abroad were deleted when the study ended.

Cite this report

Dekka (2026). The round trip from Accra. Dekka Research. https://dekka.cloud/research/round-trip-from-accra

Run your app where your users are.

Dekka runs apps, databases and virtual servers in Accra, so a team building for Ghana can keep every round trip inside the country.