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.

Where Next?

Popular General Dev topics Top

AstonJ
Thread to discuss ideas and thoughts on how developers might be able help in the Coronavirus pandemic.
New
AstonJ
:smiling_imp: What is your preferred syntax style and why? Perhaps we can add examples and use the code below as a simple reference poi...
New
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
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
Curious to know which languages and frameworks you’re all thinking about learning next :upside_down_face: Perhaps if there’s enough peop...
New
AstonJ
Great paper by Igor Kopestenski on Erlang and GRiSP: Erlang as an Enabling Technology for Resilient General-Purpose Applications on Edge ...
New
AstonJ
Things like smart speakers (such Amazon Alexa), smart TVs or other devices with built in microphones, cameras or with other features that...
New
AstonJ
Maybe a specific language or framework? Or a book or tool perhaps? What’s made your life easier and what do you think could make the live...
New
New
ivanhercaz
Hi! I usually keep changelogs for my projects because I think they are really useful, not only to track the changes and not to be lost b...
New

Other popular topics Top

DevotionGeo
I know that these benchmarks might not be the exact picture of real-world scenario, but still I expect a Rust web framework performing a ...
New
PragmaticBookshelf
Design and develop sophisticated 2D games that are as much fun to make as they are to play. From particle effects and pathfinding to soci...
New
DevotionGeo
I know that -t flag is used along with -i flag for getting an interactive shell. But I cannot digest what the man page for docker run com...
New
New
Rainer
My first contact with Erlang was about 2 years ago when I used RabbitMQ, which is written in Erlang, for my job. This made me curious and...
New
AstonJ
I’ve been hearing quite a lot of comments relating to the sound of a keyboard, with one of the most desirable of these called ‘thock’, he...
New
PragmaticBookshelf
Build highly interactive applications without ever leaving Elixir, the way the experts do. Let LiveView take care of performance, scalabi...
New
AstonJ
Saw this on TikTok of all places! :lol: Anyone heard of them before? Lite:
New
New
First poster: bot
zig/http.zig at 7cf2cbb33ef34c1d211135f56d30fe23b6cacd42 · ziglang/zig. General-purpose programming language and toolchain for maintaini...
New