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

Lesson 212 - Use uwebsockets.js on Node #297

Open
Mytrill opened this issue Oct 4, 2024 · 1 comment
Open

Lesson 212 - Use uwebsockets.js on Node #297

Mytrill opened this issue Oct 4, 2024 · 1 comment

Comments

@Mytrill
Copy link

Mytrill commented Oct 4, 2024

Hello,
First of all, thank you for these performance tests and video!
I am writing a backend heavy application in typescript, and I have been wondering which one of node/bun/deno I should use when I start scaling. Since rewriting the entire backend just to test is time consuming, I really appreciate someone doing a real world test with these techs.

Anyway, here is an idea/suggestion:
An interesting test would be to replace the default node http server with uWebSockets.js.
It is the server that bun uses under the hood, and promise performances up to 10x those of the default node http server.

I suspect that with this change, node will outperform bun on both tests.

Thank you!

@pasha-vuiko
Copy link
Contributor

I even created the PR before =))
#291

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

No branches or pull requests

3 participants