4
submitted 1 year ago by [email protected] to c/[email protected]
you are viewing a single comment's thread
view the rest of the comments
[-] [email protected] 1 points 1 year ago

Think of your computer and the servers on the internet two places connected by a highway. The method of getting something from one place to the other would be to ship it by truck.

Now, the traditional method, HTTP, would be having a one lane highway, and having the truck drive from your computer to the server, and then have the same truck drive back on the same lane.

But for WebSocket, when you just need the thing from the server as quickly as possible, you would have one lanes of a bunch of trucks going to the server, and one lane of a bunch of trucks coming back from the server, which means you'll always be getting something back as you are send things out.

But of course, WebSocket is more complex to coordinate, since there are a lot more trucks going back and forth, so it's good for things that needs immediate updates like chat or stock trades, but for slower things like Lemmy, it could just be simpler to keep that one lane highway.

[-] [email protected] 2 points 2 months ago

Top explain, would comprehend again

this post was submitted on 28 Jun 2023
4 points (100.0% liked)

Now Lemmy Explain: Simple Explanation for Complex Topics

1589 readers
1 users here now

Locked for now. Will reopen if there is interest.

Inspired by r/eli5 and Casually Explained.

Now Lemmy Explain: Starting the "Now Lemmy Explain" community.

I've always felt like the name "Explain Like I'm 5" is patronizing (yes, I know, it's from an Office joke). I want to see a community that's better and more entertaining to read than how it was on reddit.

Now Lemmy Explain: The Rules:

  1. All post title must start with "Now Lemmy Explain: "
  2. All topics are allowed (within reason) but try to avoid ones that will start a flame war.
  3. Keep your explanation concise and entertaining. Remember though, comedy is subjective.
  4. Be excellent to one another, and have fun.
  5. If you see someone else do a great job explaining a particular topic, you are encouraged to cross-post it here, but be sure to credit the original poster for their contributions.

founded 1 year ago
MODERATORS