Investigate whether dropping requests in another thread is faster
Opened this issue · 0 comments
prestwich commented
- benchmark dropping
RequestandBatchRequestobjects of various sizes with the followingdrop(req),std::thread::spawn(|| drop(req))tokio::spawn(|| async move { drop req }
- Repeat benchmarks for
- 1 KiB
- 10 KiB
- 100 KiB
- 1 MiB
- Develop heuristic for whether dropping in another task is faster
- integrate heuristic into drops in
Handlerimpls