I implemented an HTTP driver for ClickHouse and DBConnection was very useful.
-
You can
GET /statusfor handle_ping, it would probably be enough to keep the connection alive. -
In addition to pooling and keeping connections alive, DBConnection provides a way to make them re-connect with backoff in case things go bad.
Just make sure to use an HTTP client without a pool!


















