Add speedtest page

This commit is contained in:
2024-02-19 19:49:34 +01:00
parent a9d685424f
commit 2e5f17d867
11 changed files with 353 additions and 5 deletions

View File

@@ -0,0 +1,98 @@
<script>
import Footer from "../layout/Footer.svelte";
import Speedtest from "./Speedtest.svelte";
</script>
<header>
<h1>Pixeldrain Speedtest</h1>
</header>
<div class="page_content">
<Speedtest/>
<section>
<h2>How does this work?</h2>
<p>
The speedtest measures the maximum download speed from pixeldrain's
servers to your computer. This speed is not affected by the daily
download limit for free users.
</p>
<h2>What do the numbers mean?</h2>
<p>
The first number is the download speed in bytes per second. This is
useful for estimating how long a file download will take.
</p>
<ul>
<li>1 kB = 1000 bytes</li>
<li>1 MB = 1000 kB</li>
<li>1 GB = 1000 MB</li>
<li>etc..</li>
</ul>
<p>
The second number shows the download speed in bits. This is usually
the speed your ISP advertises to you. This number is equal to the
first number but multiplied by 8, because there are eight bits in a
byte.
</p>
<p>
The third number shows the latency to the pixeldrain servers. This
is dependent on how far you are removed from the closest pixeldrain
server. The lower the latency the faster your downloads will be,
generally. The number shows request latency and not ping latency.
HTTP requests have some overhead which means this latency number
shows multiple round trips instead of one.
</p>
<p>
The last number shows how much data the speedtest was able to
transfer in duration of the test. The standard test is five seconds
and the long test is 10 seconds. The long test is better
representative of the real download speed because the speed needs to
ramp up at the beginning which also takes time.
</p>
<h2>Why is the speed different from other speed tests?</h2>
<p>
Most speed tests have servers in datacenters which are located very
close to your home. They are also connected directly to your ISP
which means that the ISP does not have to pay for the bandwidth
because it stays within their network.
</p>
<p>
Pixeldrain does not have this luxury. Because our budget is very
small we are only able to afford the cheapest bandwidth available.
This means that the data has to travel further and is more likely to
be throttled.
</p>
<h2>How do I read these results?</h2>
<p>
If the speed is a lot slower than your usual downloads it can mean
two things.
</p>
<ol>
<li>
Your ISP is limiting the connection speed to pixeldrain's
servers
</li>
<li>
The pixeldrain servers are overloaded
</li>
</ol>
<p>
Number two is usually not the case, when that happens I will
<a href="https://twitter.com/Fornax96">tweet about it</a>.
Unfortunately there is nothing I can do about the first scenario. I
might be able to get more servers and better bandwidth if the site
gets many more subscribers, but for now that's out of reach.
</p>
</section>
</div>
<Footer/>
<style>
.page_content {
margin-bottom: 16px;
}
</style>