[ 
https://issues.apache.org/jira/browse/CASSANDRA-14395?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16767804#comment-16767804
 ] 

Chris Lohfink commented on CASSANDRA-14395:
-------------------------------------------

For the HealthCheck
 - should create Cluster in constructor or initialization somewhere once for 
duration to prevent control connection and cluster creation overhead
 - should use whitelist load balancing policy or the select query may not go to 
the local host that this is monitoring ie

{code}   List<InetSocketAddress> whiteList= Collections.singletonList(new 
InetSocketAddress(host, port));
   LoadBalancingPolicy loadBalancingPolicy = new WhiteListPolicy(new 
RoundRobinPolicy(), whiteList);
...
            .withLoadBalancingPolicy(loadBalancingPolicy)
{code}

> C* Management process
> ---------------------
>
>                 Key: CASSANDRA-14395
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-14395
>             Project: Cassandra
>          Issue Type: New Feature
>            Reporter: Dinesh Joshi
>            Assignee: Dinesh Joshi
>            Priority: Major
>         Attachments: Looking towards an Official Cassandra Sidecar - 
> Netflix.pdf
>
>
> I would like to propose amending Cassandra's architecture to include a 
> management process. The detailed description is here: 
> https://docs.google.com/document/d/1UV9pE81NaIUF3g4L1wxq09nT11AkSQcMijgLFwGsY3s/edit
> I'd like to propose seeding this with a few simple use-cases such as Health 
> Checks, Bulk Commands with a simple REST API interface. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to