Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PubSub Heph Websockets: Could Heph do a better job than Phoenix Channels #649

Open
hahdsa opened this issue Jan 11, 2025 · 1 comment
Open

Comments

@hahdsa
Copy link

hahdsa commented Jan 11, 2025

Is there similar capability to Phoenix Channels in Heph?

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

Famously in 2015 Phoenix showcased 2 million websockets in chat on a single box similar to the Whatsapp XMPP Erlang capabilities.

And while you are at it, seeing as you like to stay cutting edge with IO_URING, maybe use WebTransport?

https://github.com/kixelated/web-transport-rs

I posed the same question to Ractor, which is more popular but less performant than Heph.

slawlor/ractor#315

@Thomasdezeeuw
Copy link
Owner

Heph can probably do 2 million websockets. But I don't know of any websocket or web transport implementation that uses Heph.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants