pyrqlite icon indicating copy to clipboard operation
pyrqlite copied to clipboard

Multiple endpoint support?

Open dopaminereceptionist opened this issue 6 years ago • 1 comments

It would be nice if I could connect to whichever endpoint is online. Something like this:

connection = dbapi2.connect(
    hosts=['db1', 'db2', 'db3'],
    port=4001,
)

Otherwise, endpoint has to be shared in some sort of failover by multiple nodes in order to avoid a single point of failure.

dopaminereceptionist avatar Jun 01 '18 22:06 dopaminereceptionist

Agreed, this is something the CLI does and client libraries should too if possible.

otoolep avatar Jun 02 '18 13:06 otoolep