this post was submitted on 02 Jul 2023
13 points (100.0% liked)
ELI5
569 readers
2 users here now
Explain it to me like I am 5. Everybody should know what this is about.
founded 2 years ago
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
If your computer is running two programs at the same time that have to perform computation, it creates the illusion that they are operating concurrently by giving little slices of time on the CPU to one, then to the other. Maybe a thousandth of a second to one, then to the other.
Problem is that then each program appears to run at half speed, since they have half as many CPU cycles per second.
If you are downloading two files from the Internet at the same time and you are downloading as quickly as your Internet connection can handle, same thing. Each file is broken up into little packets of information and if two are coming down at once, each will appear to come down at about half speed.
The same is true for various other resources that your computer has. Bandwidth to hard drives (usually less of an issue now that solid state memory is common, which has higher rates of throughout). Amount of RAM available, if two programs both need a lot of memory.
"Server load" tends to be used to just refer to all of this in aggregate. If a server is overloaded, some resource is less-available than one would like relative to the amount of work being done.
Server load doesn't normally stop websites because, like your computer, software is designed to just slow down concurrent work rather than just stop working. But sometimes it does stop working. I'm using kbin.social, and in some cases it has returned an HTTP 503 error to my web browser. That usually means that some component cannot keep up and has hit a maximum of concurrent operations, and is causing this one to fail to limit load.
Normally browsing information.
Yes. Though it's a pretty good bet that that probably isn't what's producing most of the load. There are people looking to identify the problems, but I would guess that a more-significant cause is doing things like refreshing lists of threads and communities.
Yes.
Just to be clear, the fact that server load would be an issue is not a surprise. The idea behind lemmy and kbin was that there would be many servers and the load would be spread out across them as people used different servers.
Some of what people will be working on is figuring out what the issues are that are causing the most slowdown, and then the developers will fix those. This is common in software development -- scaling up means that one gets more users until something starts to go wrong, fixes that, and so forth. There will be a limit where one server cannot scale up further, though.
Most large websites like Reddit have many servers, but they're rigged up to split work up so that an individual user can't really see which server is being used -- a server that isn't heavily loaded is automatically used. For a number of reasons, mostly centering around the fact that kbin and lemmy instances aren't all identical and serving up the same information, kbin and lemmy don't do that (or at least, mostly don't do that).