12 unstable releases (4 breaking)

Uses old Rust 2015

0.5.3 Apr 17, 2018
0.5.2 Dec 7, 2017
0.5.0 Nov 19, 2017
0.3.1 Jul 27, 2017
0.2.2 Dec 14, 2016

#47 in #tcp-connection

38 downloads per month
Used in 3 crates (2 directly)

MIT/Apache

56KB
1.5K SLoC

Tk-Pool

Status: Beta

Documentation | Github | Crate | Examples

A connection pool implementation for tokio. Main features:

  1. Works for any request-reply protocol (actually for any Sink)
  2. Provides both queue and pushback if needed
  3. Allows pipelining (multiple in-flight request when multiplexing)
  4. Auto-reconnects on broken connection
  5. Adapts when DNS name change

Multiple load-balancing strategies are in to do list.

License

Licensed under either of

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~6.5MB
~102K SLoC