News for hackers. Stuff that matters.
Re:Soketi: Simple, fast and resilient open-source WebSockets... by jkarneges on Thursday August 25, 2022 @08:18PM (#32601771)
> Stop paying for €xpen$ive realtime

First time I've seen what appears to be a purely free project going on the offense against SaaS providers, complete with a mock pricing table. I wonder what the motivation is. Bad experience with a SaaS?

Brilliant website in any case. And I say this as someone who works on a realtime/push SaaS.

Re:Soketi: Simple, fast and resilient open-source WebSockets... by mccorrinall on Friday August 26, 2022 @12:05AM (#32603236)
My guess: Their motivation is probably that they used a SaaS product, which was totally overpriced for what value it provided and they want to show that they can do it better for cheaper.

Anyway, what exactly is the use of this compared to just using uWS straight away? It’s build on uWS, so this is basically just a pusher implementation and some notification features with cool branding?

Re:Soketi: Simple, fast and resilient open-source WebSockets... by rennokki on Friday August 26, 2022 @03:21AM (#32604202)
> My guess: Their motivation is probably that they used a SaaS product, which was totally overpriced for what value it provided and they want to show that they can do it better for cheaper.

Yes, and what I replied earlier in this thread: I'm not the only one having this issue with overpriced Pusher, I just dont want to be limited by Pusher on how many messages I wanna distribute to my end users.

> Anyway, what exactly is the use of this compared to just using uWS straight away? It’s build on uWS, so this is basically just a pusher implementation and some notification features with cool branding?

uWS is cool to be used in any WebSocket client. However, Pusher has a strict protocol, so I wanted a product that works with any Pusher SDK - so I won't have to rely on custom clients or something of that ilk.

Re:Soketi: Simple, fast and resilient open-source WebSockets... by rennokki on Friday August 26, 2022 @03:18AM (#32604191)
The creator of Soketi here. Even if I have 50-100 concurrent connections on most of the projects, I don't wanna be throttled by how many messages I can distribute to my end users - I might have < 100 users, but maybe I have to distribute fresh updates each 5 seconds, what do I do?
Re:Soketi: Simple, fast and resilient open-source WebSockets... by nesarkvechnep on Friday August 26, 2022 @04:08AM (#32604526)
You use a stack which supports it. Elixir and Erlang support millions of concurrent websocket connections on a single, albeit beefy, server.

https://phoenixframework.org/blog/the-road-to-2-million-webs...

Re:Soketi: Simple, fast and resilient open-source WebSockets... by jamil7 on Friday August 26, 2022 @04:20AM (#32604619)
The library is built on top of uWebsockets which is fairly well-known as being highly optimised and performant, especially if you skip the Node.js wrapper and use the underlying C/C++ lib directly. Does anyone know what tradeoffs or different performance characteristics one would expect to see from e.g. Elixir/Erlang vs uWebsockets?
Re:Soketi: Simple, fast and resilient open-source WebSockets... by nesarkvechnep on Friday August 26, 2022 @04:42AM (#32604737)
Elixir/Erlang are surely slower but the BEAM is a fantastic runtime and compensates with fault-tolerance and predictable performance. I know I prefer my server to be as responsive at 1 million connections as at 1 hundred.
Re:Soketi: Simple, fast and resilient open-source WebSockets... by andy_ppp on Friday August 26, 2022 @10:03AM (#32607693)
How much slower though, I think we’re talking everyone getting the message in a Phoenix channel in < 100ms?
Re:Soketi: Simple, fast and resilient open-source WebSockets... by conradfr on Friday August 26, 2022 @08:35AM (#32606583)
I can't believe this article is 7 years old.