Indexing

The Query mechanism in Qi4j is separated from the storage mechanism, to improve the raw performance of object retrieval, which is much more common due to object graph traversals. The Indexing subsystem will interact with the storage subsystem to keep the searchable indexes up to date.

One big advantage with this system is that the Indexing is totally independent of the storage, and we can wipe the Index and rebuilding them at any time. It will also allow us to distribute the Index to many hosts, to improve scalability. The main disadvantage is that for optimal performance, we are sacrificing Query consistency, and there are times when the data stored and the data queried are out of sync. Future versions of the Indexing subsystem will probably allow other 2 out 3 combinations of the CAP syndrome (Consistency, Availbility and Partitioning tolerance).


Qi4j and the Qi4j logo are trademarks of Richard Öberg, Niclas Hedhman and the members of the Qi4j Core Team. See Qi4j licensing for more information.
Powered by SiteVisionexternal link.