tarantool / tarantool-python

Python client library for Tarantool
https://www.tarantool.io
BSD 2-Clause "Simplified" License
100 stars 48 forks source link

Get a list of 'connectable' instances from the first node #134

Closed sharonovd closed 5 years ago

sharonovd commented 5 years ago

Use-case: there is a sharded cluster of ~50 tarantools, 12 vshard-routers. User wants to be able to reconnect to another noe smoothly (if the first one goes down). It is not suitable to pass all 50 nodes to connectmesh, moreover - adding a new router requires all client applications restart.

Proposed solution:

sharonovd commented 5 years ago

Corner cases: 1) What should be done if after a list refresh currently active node is no longer in it? 2) What is the exact API for connector and tarantool?

@Totktonada please help elaborate those, I usually tend to simplest solutions