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

feat/event-based-interaction #32

Open
Tracked by #17
vdedios opened this issue Sep 19, 2021 · 1 comment
Open
Tracked by #17

feat/event-based-interaction #32

vdedios opened this issue Sep 19, 2021 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@vdedios
Copy link
Contributor

vdedios commented Sep 19, 2021

What should be achieved?

Context

While non-blocking I/O system calls such as poll and select work well with a few clients, what if we want to scale to thousands of clients? These calls start to behave like a bottle neck and may need a better approach like kqueue or epoll which use an event based approach rather than a single polling one.

What should be achieved?

"I, as a client, want the server to respond me in a reasonable amount of time in spite of active connections"

  • Be able to handle thousands of multiple requests in a single thread
  • Make this feature work for both Linux and macOS
@vdedios vdedios added the enhancement New feature or request label Sep 19, 2021
@vdedios vdedios self-assigned this Sep 19, 2021
@vdedios vdedios mentioned this issue Sep 19, 2021
3 tasks
@Damrod
Copy link
Contributor

Damrod commented Sep 21, 2021

I'm trying to add a feature to be able to build in different platforms. This make variable: https://github.com/42AGV/webserv/pull/21/files#r713369103 to be able to build this https://github.com/42AGV/webserv/pull/21/files#r713370998 differently depending on the platform (otherwise it keeps failing in either macOS or linux).
I've spent the last few days catching up with main's changes, but now I should be able to slowly start to merge some of these into main.

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

No branches or pull requests

2 participants