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

Support HTTP keep-alive for health checks #13

Open
Castaglia opened this issue Mar 13, 2016 · 1 comment
Open

Support HTTP keep-alive for health checks #13

Castaglia opened this issue Mar 13, 2016 · 1 comment
Assignees

Comments

@Castaglia
Copy link
Owner

The AWSHealthCheck functionality in mod_aws currently does not support HTTP keep-alive, and instead closes the connection after each request. Supporting HTTP keep-alive would allow for faster responses by avoiding the TCP connection overhead per request. This will be even more important once mod_aws supports SSL and/or HTTPS health checks; see Issue #14 .

@Castaglia Castaglia self-assigned this Mar 13, 2016
@Castaglia
Copy link
Owner Author

With HTTP keep-alive comes long-lived TCP connections to the health check listener. Thus we'll need to have a maximum number of TCP connections at any one time, and timeouts for idle/unused connections (to prevent connection slot starvation). For example, if we haven't received/read a proper HTTP request from a connection within some amount of time (e.g. 60 seconds), close that connection.

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

1 participant