It would be great if the library could support multiple KairosDb instances. For example, in my environment I have two KairosDb instances both targeting the same keyspace in Cassandra backend cluster.
At the moment while creating RestClient instance we need to specify exact particular KairosDb. But much better approach would be to specify all KairosDb instances (endpoints), and to implement some kind of load-balancing / failover behavior within RestClient itself.
It shouldn't be too hard to accomplish since you can borrow this code from another project. I'm not 100% sure but I believe that ElasitcSearch client implements similar thing. Cassandra .NET client does the similar...
I'll consider adding this feature once I get a chance to revisit this project. We use the elasticsearch client with multiple instances in production, it is pretty useful.
First: thanks for your effort guyz!
Now suggestion (feature request):
It would be great if the library could support multiple KairosDb instances. For example, in my environment I have two KairosDb instances both targeting the same keyspace in Cassandra backend cluster.
At the moment while creating
RestClient
instance we need to specify exact particular KairosDb. But much better approach would be to specify all KairosDb instances (endpoints), and to implement some kind of load-balancing / failover behavior withinRestClient
itself.It shouldn't be too hard to accomplish since you can borrow this code from another project. I'm not 100% sure but I believe that ElasitcSearch client implements similar thing. Cassandra .NET client does the similar...
Thanks!