Probably 1 and 3 would be the most effective ways if you're getting objects
on affinity node [1], not use CacheMemoryMode#OFFHEAP_VALUES mode and
CacheConfiguration.setCopyOnRead() is set to false (for query also with
Query.setLocal() set to true).

But copyOnRead = false flag could be the cause of errors, because result is
got directly from cache, so the compromise option, I think, would be #1.
Safe and with not a big overhead.

[1] Affinity node means the node where resides key/value data.



--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/Efficient-way-to-get-partial-data-of-a-cache-entry-tp9965p9969.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Reply via email to