Currently, each API request gets assigned a particular cluster node, and makes its calls to that node. A better approach would be to tell the ApiDataAccess class about all nodes, and allow it to switch between nodes if one becomes unavailable.
This should all be transparent to the users of ApiDataAccess/ApiContext.
Also, the ApiDataAccess class should continually ping each node to keep connections alive and to track node availability.
Currently, each API request gets assigned a particular cluster node, and makes its calls to that node. A better approach would be to tell the ApiDataAccess class about all nodes, and allow it to switch between nodes if one becomes unavailable.
This should all be transparent to the users of ApiDataAccess/ApiContext.
Also, the ApiDataAccess class should continually ping each node to keep connections alive and to track node availability.