You could introduce an additional Model data cache that will store *data* for
each Model as it is usually done in a regular ORM systems
(http://docs.jboss.org/hibernate/orm/5.2/userguide/html_single/Hibernate_User_Guide.html#collections-map)

The key for the Model data cache should include the key of a corresponding
model and a key of the original *data* field. The Model key of the
ModelDataKey should be collocated with the corresponding Model key.
Please check  affinity collocation documentation section
<https://apacheignite.readme.io/docs/affinity-collocation>  
Having collocated the Model and its ModelData, you could use distributed
collocated queries to fetch related data with index support.
More info on distributed queries and indexing setup could be found here. 
https://apacheignite.readme.io/docs/cache-queries#sql-queries




--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Reply via email to