| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
This change introduces WriteResponseAsync which can be used to move potentially slow request handler code (like upstream lookups) off the I/O service thread to ensure we are always able to serve as many HTTP requests as possible. The current implementation defaults to 16 async worker threads and there is currently no back-pressure.
- Added RequestStats - Metrics for network requests. Aggregates tracking of duration, payload sizes into a single class for ease of use
- Added some metrics on upstream communication
Co-authored-by: Per Larsson <[email protected]>
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
Primarily replaces some exception usage with std::error_code
|
| | |
|
| |
|
|
| |
cleanup of http API resources
|
| |
|
|
|
|
| |
The new logic simply reads the whole payload up front before dispatching to the endpoint handler. This increases concurrency as fewer threads will be blocked waiting for payloads
Similar logic will be added for compact binary package negotiation and ultimately we want to support streaming payloads to a staging directory on disk rather than keeping them all in memory
|
| | |
|
| | |
|
|
|
of place in zencore
|