Skip to content

Add built-in SocketCahnnelProvider, implementing round-robin between several tarantool instances #37

Closed
@sharonovd

Description

@sharonovd

Use-case: tarantool is deployed as a geo-distributed cluster, and when one DC goes down, application must switch to reserve DC with minimal service disruption.

Proposal: add built-in Provider which would take several connection URI's as a config, and would quickly try to establish connection to them in a circle, returning the first succesful one.
Edge-case: if all URIs are unavailable, return error.

Such Provider could be used straight-away in described use-case, and would be also useful as a demo of more advanced connection strategies.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions