We are currently using Hazelcast ( http://hazelcast.org/ ) as a distributed data grid in memory. This worked well for us, but only in memory has exhausted its path in our use case, and we are considering moving our application to NoSQL persistent storage. After the usual comparisons and evaluations, we border on the choice of Cassandra, plus ultimately Spark for analytics.
However, there is a flaw in our architectural needs that we still donβt understand how to solve the problem in Cassandra (with or without Spark): Hazelcast allows us to create a continuous request in that whenever a line is added / removed / modified from the offer result set, Hazelcast is returned with a notification. We use this to constantly update clients using AJAX streaming with new / changed lines.
This is probably the conceptual inconsistency we are making, therefore - how best to solve this use case in Cassandra (with or without Spark help)? Is there something in the API that allows Continuous requests when changing a key / offer (did not find it)? Is there any other way to get the key / clause update stream? Any events?
I know that we could eventually interrogate Cassandra periodically, but in our use-case, the client is potentially interested in a large number of notifications about table offers (think "all changes in the" Ship on the California Coast "position) and iterating from the store will result in Streamer scalability
Therefore, the magical question is: what are we not seeing? Is Kassandra the wrong tool to work with? Do we know about a certain part of the API or an external library in / outside the apache scope that would allow this to be done?
Thanks so much for any help!
Hugo
Hugo pinto
source share