cdrs
cdrs copied to clipboard
[v2.0.0] ClusterManager adjusting the Up/Down nodes
I know we just have got the cluster manager api up. the nodes can be brought up online or node can die. we can get those information via the server events. using the server event api we should dynamically add/remove the nodes from manager pool.
Good idea. 👍
A related question what do you think of making a cluster builder struct that would abstract away creation of transporttcp ,Authetication and loadbalancing?
As in from API standpoint a client would have to give clusterbuilder.with_nodes(122333).port(9042).poolsize(5).....build() ?
If we could find a way to go it would be awesome. I'm afraid that in case of creating TLS connection to a cluster it could be not so trivial to cover all existing options to configure SSL. However we could implement a POC for that and to see if it's flexible enough.
I too had the same thought let me give it a shot
On Wed, Mar 8, 2017 at 4:14 PM Alex Pikalov [email protected] wrote:
If we could find a way to go it would be awesome. I'm afraid that in case of creating TLS connection to a cluster it could be not so trivial to cover all existing options to configure SSL. However we could implement a POC for that and to see if it's flexible enough.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/AlexPikalov/cdrs/issues/113#issuecomment-285171153, or mute the thread https://github.com/notifications/unsubscribe-auth/AM2UncDD6fECR5M24wXcKh7ZZNnqtPGZks5rjxokgaJpZM4MTK4i .
@harrydevnull sure, go ahead
NOTE: Removing nodes process was implemented. Adding nodes still remains.