ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From afedotov <alexander.fedot...@gmail.com>
Subject Re: Cache listener for new keys
Date Fri, 15 Dec 2017 13:30:21 GMT
Hello,

OK. How do you use these registries after that?

I don't think that there is a need to keep version in the key. Ignite
guarantees that a cache contains the
latest version at each moment. Probably the only things you need to keep in
the key object are id and type.
Even if you need to handle version explicitly it should be placed inside the
value object.

Since you need some kind of registry of (probably) not very big volume, a
replicated cache could come in handy.
You then could populate it on remote nodes if you *definitely* need to
propagate the keys.

Kind regards,
Alex




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

Mime
View raw message