deadpool
deadpool copied to clipboard
Dead simple pool implementation for rust with async-await
Right now the `Config` structs of the `deadpool-*` crates contain all the connection configuration and a `pool: PoolConfig` field. It would be better to move the configuration specific to the...
currently we use tokio_postgres order of connecting to hosts. This means we go in the order of the hosts. I would prefer to round robin over the hosts and allow...
I have a noob question. I would like to do something like: ```rust use async_std::sync::{Arc, Mutex}; use async_trait::async_trait; use failure::Error; use odbc_safe::AutocommitOn; use std::env; struct Conn { conn: Mutex
Is there a way to get a transaction object out of Rusqlite? Currently the entire transaction can only be performed synchronously. For reference, `sqlx` can perform transactions asynchronously.
This adds support for providing a dynamic configuration for postgres pools that can provide a unique configuration for each new connection. The motivating use case for this is [AWS RDS...
If v1.0 has break changes, I recommend replacing the ``async_trait`` to ```BoxFuture```? 1. there are usually only impl trait and two function to implement to Deadpool.I do not want to...
See: - https://docs.rs/rusqlite/latest/rusqlite/struct.Connection.html#method.open_with_flags - https://docs.rs/rusqlite/latest/rusqlite/struct.Connection.html#method.open_with_flags_and_vfs
When removing the `async_trait` dependency this also rendered code using `&dyn GenericClient` unuseable. As alterantive `&impl GenericClient` can be used which avoids the dynamic dispatch. I'm curious if anyone currently...
As [reported by user](https://github.com/maplibre/martin/discussions/1121) of the Martin tile server, the number of connections to their Postgres database keeps growing until it reaches the pool size, and it never shrinks back,...