Official tokio-postgres example w/ bb8 is slow #2493
-
SummaryHey, I have been benchmarking and found that the tokio-postgres using bb8 for connection pooling is slow compared to db connection sharing through an Arc. https://github.com/tokio-rs/axum/tree/main/examples/tokio-postgres - official example Do you have any tips on why this is happening? axum version0.7.3 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
This is not an axum issue. I’d recommend you ask a more general place. |
Beta Was this translation helpful? Give feedback.
This is not an axum issue. I’d recommend you ask a more general place.