due to performance reasons (difference between 1ms and 100ms and 100mb vs 2GB memory usage) i need to add a hyper (not tower) layer that comes before everything for my proxy implementation. I had to rewrite my code based on your serve function and inject the proxy as the lowest service.
I was wondering if you would consider adding a mechanic like Acceptor but used to modify the final tower service before it is served ?
ah scrap it, a mistake i made, it still is too slow because the acceptor runs first and runs into_service. i think the acceptor mechanic might be enough
Hi,
due to performance reasons (difference between 1ms and 100ms and 100mb vs 2GB memory usage) i need to add a hyper (not tower) layer that comes before everything for my proxy implementation. I had to rewrite my code based on your serve function and inject the proxy as the lowest service.
I was wondering if you would consider adding a mechanic like
Acceptor
but used to modify the final tower service before it is served ?