Skip to content

Conversation

@fernandoareias
Copy link
Owner

This PR implements a non-blocking TCP acceptor to handle incoming requests more efficiently. Each request is now assigned to a dedicated web_server_tcp_acceptor process, supervised by web_server_tcp_listener_sup and invoked by web_server_tcp_listener. This change aims to enhance scalability and responsiveness by ensuring that the system can handle multiple concurrent connections without blocking.

Screenshot 2025-03-19 at 5 34 50 PM

Additional adjustments were made to address process termination issues, ensuring proper cleanup of resources after a request ends. Stress tests were conducted to validate the changes, with ongoing refinements to resolve any remaining edge cases (e.g., EOF errors).

@fernandoareias fernandoareias merged commit e1ad366 into main Mar 19, 2025
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants