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

#8 in #connection

Download history 11/week @ 2020-10-31 25/week @ 2020-11-07 12/week @ 2020-11-14 23/week @ 2020-11-21 13/week @ 2020-11-28 32/week @ 2020-12-05 6/week @ 2020-12-12 4/week @ 2020-12-19 1/week @ 2020-12-26 11/week @ 2021-01-02 13/week @ 2021-01-09 23/week @ 2021-01-16 12/week @ 2021-01-23 8/week @ 2021-01-30 30/week @ 2021-02-06 31/week @ 2021-02-13

83 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

~4.5MB
~74K SLoC