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

Websocket benchmark #260

Open
rocinant3 opened this issue Dec 1, 2023 · 1 comment
Open

Websocket benchmark #260

rocinant3 opened this issue Dec 1, 2023 · 1 comment

Comments

@rocinant3
Copy link

rocinant3 commented Dec 1, 2023

First of all, I want to thank you for work on one of the best rust framework. I'm currently looking for a suitable tool to implement live view (HTML over websocket). I'm interested in the performance of ntex websockets. It would be great to see a performance comparison with other crates, example: https://github.com/nurmohammed840/web-socket-benchmark.

@markg85
Copy link

markg85 commented Jun 16, 2024

I would not worry about ntex performance.
While this site isn't measuring websockets specifically, it is measuring http requests https://www.techempower.com/benchmarks/#hw=ph&test=plaintext&section=data-r22

With that ntex is quite high up performance wise. Definitely in the top 10, depending on which runtime you use.
I'm guessing the websocket offering are at least high up in performance too.

In other terms, ntex isn't likely going to be your bottleneck.

That being said, i too am curious how it stacks up against current high performance websocket stacks (like uwebsockets).

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

No branches or pull requests

2 participants