Re: Customize Cassandra to execute a query multiple times

2017-07-27 Thread benjamin roth
+1 2017-07-27 9:26 GMT+02:00 Marco Massenzio : > Why not simply have a microservice that does this for you? > > It may expose an API that allows to either store queries and/or conditions > that trigger the queries (maybe time elapsed, an alert generated, > whatever...) and it would then connect t

Re: Customize Cassandra to execute a query multiple times

2017-07-27 Thread Marco Massenzio
Why not simply have a microservice that does this for you? It may expose an API that allows to either store queries and/or conditions that trigger the queries (maybe time elapsed, an alert generated, whatever...) and it would then connect to Cassandra and execute the stored query(ies). Given that

Re: Customize Cassandra to execute a query multiple times

2017-07-26 Thread Ke Wang
Hi Jeff, Thanks for the prompt reply. I'm sorry I wasn't clear about my use case. Let's say I just want the server to execute writes that are not directly generated from clients. It can be previously stored queries (the case in my last email), or it can be arbitrarily made-up write requests by th

Re: Customize Cassandra to execute a query multiple times

2017-07-26 Thread Jeff Jirsa
On 2017-07-26 22:19 (-0700), Ke Wang wrote: > Hello all, > > Is there a way to customize Cassandra to execute a query multiple times? > There's always a way... > My use case is the following. When the Cassandra server receives queries > from remote clients, besides executing those queries,