--
-- You received this message because you are subscribed to the "cqengine-discuss" group.
http://groups.google.com/group/cqengine-discuss
---
You received this message because you are subscribed to the Google Groups "cqengine-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cqengine-discu...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Yes, I've been able to enhance CQEngine to work on top of Hazelcast. CQEngine provides the super fast query mechanism while Hazelcast provides the data distribution mechanism. So each library is performing what they do best.
The way I achieve it is by injecting Hazelcast's distributed set into CQEngine's IndexedCollection so that CQEngine works with a variant of Set that the data is distributed but has transparent Java's Set interface. Then I also hooked the CQEngine's QueryEngineInternal into Hazelcast's ItemListener so that it'll be notified when there is item added/removed from the distributed Set and call the QueryEngineInternal's notify methods so that the same reindexing process is kicked in all nodes.
This way I'm able to start up tens or even hundreds of CQEngine nodes and have the data distributed evenly across nodes.
I hope I explain it clear enough. However I'm interested to know if the threadstarter has managed to solve his problem and willing to share his solution.
Cheers
Cheers
--
-- You received this message because you are subscribed to the "cqengine-discuss" group.
http://groups.google.com/group/cqengine-discuss
---
You received this message because you are subscribed to a topic in the Google Groups "cqengine-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/cqengine-discuss/F6P_HfLEhnc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to cqengine-discu...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and all its topics, send an email to cqengine-discuss+unsubscribe@googlegroups.com.
You received this message because you are subscribed to the Google Groups "cqengine-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cqengine-discu...@googlegroups.com.