Skip to content

TCP sockets #370

Answered by ghost
streamich asked this question in Q&A
Discussion options

You must be logged in to vote

Controversial topic - this request/subject has surfaced a few times before.

  • uWS is a high level library for doing high performance web messaging. That is the point and purpose of this project.

It is high level because when you do as much as possible in native C++ and only let the very business logic be scripted, you have minimal performance loss and maximum productivity.

You get a sweet point where you can, with 4 lines of JavaScript, set up a WebSocket server that outperforms most of all alternatives from within Node.js. That is the reason why this project is what it is.

I cannot think of one single case where business logic in a web project would need to directly use TCP or EPOLL.

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant
Converted from issue

This discussion was converted from issue #370 on December 09, 2020 05:48.