Exadra37

Exadra37

Server location vs load time for the end user

Your users of the two forums are spread across the world, thus I am curious how did you solved it?

Most Liked

AstonJ

AstonJ

If you have an international user base look for a provider with a multi-redundant network connected to key Internet exchanges, tho in fairness most good data centres will be. So the other thing you can do is on the hardware side, with things like an SSD and enough RAM.

ioping on two servers, one with SSDs and the other with standard HDs (both configured in a RAID array with the same number of drives each):

1

ioping -RD -w 10 .

--- . (ext4 /dev/md2) ioping statistics ---
112.1 k requests completed in 9.48 s, 437.9 MiB read, 11.8 k iops, 46.2 MiB/s
generated 112.1 k requests in 10.0 s, 437.9 MiB, 11.2 k iops, 43.8 MiB/s
min/avg/max/mdev = 53.2 us / 84.6 us / 6.10 ms / 45.5 us

2

ioping -RD -w 10 .

--- . (ext4 /dev/md2) ioping statistics ---
11.8 k requests completed in 9.92 s, 46.1 MiB read, 1.19 k iops, 4.65 MiB/s
generated 11.8 k requests in 10.0 s, 46.1 MiB, 1.18 k iops, 4.61 MiB/s
min/avg/max/mdev = 147.7 us / 840.6 us / 163.3 ms / 2.71 ms

However standard SSDs and enough RAM is fine for most applications. What will be interesting (for me at least) is to see how they differ with a LiveView app (which I can’t wait to do! :lol:)

Exadra37

Exadra37

This doesn’t solve the problem for the users that are distant from the server.

Let’s say this forum is hosted in UK and I am accessing it from Brazil, Africa, Australia, Japan, etc, it will be slow for sure, but usable I think.

Exadra37

Exadra37

Don’t bet on it. The speed of light is not that fast for internet across huge distances and many hops(routers).

Even people from the pacific ocean side of United States will experience latency when visiting a complex/heavy sites hosted in Europe.

Popular General Dev topics Top

Exadra37
Cloudflare as workers to run serverless code without using containers: So it seems that Isolates is based on: What we ended up settl...
New
AstonJ
Thought it might be worth having a dedicated thread for standing desk treadmills (for those interested, here’s our general thread on stan...
New
chasekaylee
Hi there! I have some old Bose in ear noise cancelling headphones that have worked like a champ for the past 3 years and was maybe due fo...
New
AstonJ
Continuing the discussion from Thinking about learning Crystal, let’s discuss - I was wondering which languages don’t GC - maybe we can c...
New
AstonJ
Slightly different to the What does your mobile phone home screen look like? thread, what is your lock screen image?
New
New
chaptuck
I am thinking about getting a fitness tracker of some kind (probably one from Garmin). Have any of you developed your own widgets, watchf...
New
AstonJ
I’ve been watching Prag Dave’s Elixir course and I noticed he uses tree: Tree is a recursive directory listing program that produces a ...
New
DevotionGeo
For me it’s six to seven steps above complete dark, on MacBook Air M1.
New
harwind
I’m working on a Spring Boot project and I have a controller where I want to map multiple request paths to a single method. Let’s say I h...
New

Other popular topics Top

PragmaticBookshelf
A PragProg Hero’s Journey with Brian P. Hogan @bphogan Have you ever worried that your only legacy will be in the form of legacy...
New
AstonJ
Do the test and post your score :nerd_face: :keyboard: If possible, please add info such as the keyboard you’re using, the layout (Qw...
New
PragmaticBookshelf
Learn different ways of writing concurrent code in Elixir and increase your application's performance, without sacrificing scalability or...
New
mafinar
Crystal recently reached version 1. I had been following it for awhile but never got to really learn it. Most languages I picked up out o...
New
rustkas
Intensively researching Erlang books and additional resources on it, I have found that the topic of using Regular Expressions is either c...
New
First poster: bot
The overengineered Solution to my Pigeon Problem. TL;DR: I built a wifi-equipped water gun to shoot the pigeons on my balcony, controlle...
New
First poster: bot
Large Language Models like ChatGPT say The Darnedest Things. The Errors They MakeWhy We Need to Document Them, and What We Have Decided ...
New
PragmaticBookshelf
Author Spotlight: Tammy Coron @Paradox927 Gaming, and writing games in particular, is about passion, vision, experience, and immersio...
New
PragmaticBookshelf
Author Spotlight: Peter Ullrich @PJUllrich Data is at the core of every business, but it is useless if nobody can access and analyze ...
New
AstonJ
If you’re getting errors like this: psql: error: connection to server on socket “/tmp/.s.PGSQL.5432” failed: No such file or directory ...
New