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

Siege and client bouncing #101

Open
marcorondong opened this issue Oct 1, 2024 · 2 comments
Open

Siege and client bouncing #101

marcorondong opened this issue Oct 1, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@marcorondong
Copy link
Collaborator

Since we have a timeout (and if we decide to implement keepalive connection); we could do the following:

  1. Check the amount of fileDescripts we have and if we reach x amount (e.g: 80%) , we start the bouncing procedure.
  2. Every new client that tries to connect, we will answer with 503 Service Unavailable + header field "Retry-After", close connection, and No-cache.

Reading material: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status#:~:text=an%20invalid%20response.-,503%20Service%20Unavailable,-The%20server%20is

@marcorondong marcorondong added the enhancement New feature or request label Oct 1, 2024
@Sekula34
Copy link
Owner

I sieged multiple servers wiht a lot of clients. There were never issue. above 99% success

@Sekula34
Copy link
Owner

EPOLL takes care of this. Trust us. Gabriel and Filip 13 October 2024. Nfu wjfy xlmwjs qjfbji fsiwjw ymnslqjx! (s5)

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