{"repo":"djc/bb8","free":true,"listed":false,"github":"https://github.com/djc/bb8","clone":"git clone https://github.com/djc/bb8.git","description":"Full-featured async (tokio-based) postgres connection pool (like r2d2)","language":"Rust","stars":949,"topics":["tokio","asynchronous","database","pooling","hacktoberfest"],"license":"MIT","category":"databases-storage","readme_excerpt":"bb8 A full-featured connection pool, designed for asynchronous connections (using tokio). Originally based on r2d2. Opening a new database connection every time one is needed is both inefficient and can lead to resource exhaustion under high traffic conditions. A connection pool maintains a set of open connections to a database, handing them out for repeated use. bb8 is agnostic to the connection type it is managing. Implementors of the ManageConnection trait provide the database-specific logic to create and check the health of connections. A (possibly not exhaustive) list of adapters for different backends: Backend Adapter Crate ------- ------------- tokio-postgres bb8-postgres (in-tree) redis bb8-redis (in-tree) redis cluster async bb8-redis-cluster rsmq rsmq async bolt-client bb8-bolt diesel diesel async tiberius bb8-tiberius nebula-client bb8-nebula memcache-async bb8-memcached lapin bb8-lapin arangors bb8-arangodb tonic bb8-tonic Example Using an imaginary \"foodb\" database. License Licensed under the MIT license (LICENSE). Contribution Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you shall be licensed as above, without any additional terms or conditions.","default_branch":null,"files":null,"tree":[],"storefront":"/r/djc","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/djc/bb8/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}