#future #service #non-blocking #io #async #tower-middleware

tower-batch

batch-tower is a Tower middleware that allows you to buffer requests for batch processing until the buffer reaches a maximum size OR a maximum duration elapses

1 unstable release

0.1.0 Feb 19, 2022

#1805 in Asynchronous

MIT license

34KB
638 lines

tower-batch

Writing data in bulk is a common technique for improving the efficiency of certain tasks. batch-tower is a Tower middleware that allows you to buffer requests for batch processing until the buffer reaches a maximum size OR a maximum duration elapses.

License

This project is licensed under the MIT license.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in batch-tower by you, shall be licensed as MIT, without any additional terms or conditions.

Dependencies

~3–4.5MB
~67K SLoC