-
Notifications
You must be signed in to change notification settings - Fork 202
Performant HTTP server #44
Copy link
Copy link
Closed
Description
While I doubt nobody is rushing to run this in production, I am also going to bet that:
let conn;
while (true) {
conn = await t.accept();
handleConnection(conn);
conn = undefined;
}
won't lead to the most performant approach to serving HTTP requests.
What are your thoughts on putting epoll or kqueue or select or something? How does libuv achieve this for servers?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels