Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/tailhook/tk-pool
- Owner: tailhook
- License: apache-2.0
- Created: 2016-10-08T10:03:22.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-04-17T16:51:21.000Z (over 6 years ago)
- Last Synced: 2024-10-14T21:56:01.695Z (about 1 month ago)
- Topics: connection-pool, network, rust, tokio
- Language: Rust
- Size: 89.8 KB
- Stars: 22
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
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 changeMultiple 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.