this post was submitted on 11 Dec 2023
9 points (90.9% liked)

Web Development

2973 readers
15 users here now

Welcome to the web development community! This is a place to post, discuss, get help about, etc. anything related to web development

What is web development?

Web development is the process of creating websites or web applications

Rules/Guidelines

Related Communities

Wormhole

Some webdev blogsNot sure what to post in here? Want some web development related things to read?

Heres a couple blogs that have web development related content

CreditsIcon base by Delapouite under CC BY 3.0 with modifications to add a gradient

founded 1 year ago
MODERATORS
 

We walk through how we implemented an SSE server that's scalable and load-balanced to simplify and improve a real-time data visualization application.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 2 points 11 months ago (1 children)

I am not really sold that going to all of this effort to implement a new communication mechanism is really a better plan than just going with WebSockets, even if WebSockets is not a perfect fit (which they very briefly cover in the article). However, if I am wrong then perhaps someone here could explain to me what I am missing.

[โ€“] [email protected] 3 points 11 months ago

SSE are websocks but with a broadcast model. All you need is a websocket open to any of the broadcast sources without providing two-way communication on the socket. Therefore management of a lot of connected clienta becomes very cheap, as you just need them connected to any proxy.that serves your events.