coherence-community / oracle-bedrock

Oracle Bedrock
Other
54 stars 31 forks source link

Introduce the ability for RemoteChannels to attempt reconnect when disconnected #421

Open brianoliver opened 7 years ago

brianoliver commented 7 years ago

From looking at a few logs, we suspect that TCP/IP sockets may be randomly dropped by an operating system when under load (or they are not used), in which case child applications may automatically self-terminate (commit suicide). To prevent this, we should;

a). Consider a routine "ping/pong" to ensure the connection is kept alive b). Consider using a secondary connection so that both connections would need to be terminated for the channel to be considered closed c). Consider reconnecting a dropped channel