Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tailhook/tk-pool

A connection pool implementation for tokio
https://github.com/tailhook/tk-pool

connection-pool network rust tokio

Last synced: 17 days ago
JSON representation

A connection pool implementation for tokio

Awesome Lists containing this project

README

        

Tk-Pool
=======

**Status: Beta**

[Documentation](https://docs.rs/tk-pool) |
[Github](https://github.com/tailhook/tk-pool) |
[Crate](https://crates.io/crates/tk-pool) |
[Examples](https://github.com/tailhook/tk-pool/tree/master/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

* Apache License, Version 2.0,
(./LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
* MIT license (./LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.

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.