>
>
> Alex, thanks for monitoring various discussion threads and sharing these
> problems with the rest of the dev community.
>
> >> As a short-term solution for [2] I suggest to force reads from a primary
> > node inside optimistic serializable transactions.
>
>
> Totally agree on this. Anyway, consistency and predictable behavior matter
> most. Also, it shouldn't affect performance anyhow dramatically.
>
> >> I think it may be better to make read-through and entry expiry a
> > partition-wide operation with the underlying cache guarantees.
>
>
> That's a pain in the neck! As you properly mentioned, an in-memory data
> grid sitting on top of an external database is still our dominating use
> case. So, a partition-wide operation assumes that if a record is read from
> a CacheStore than its value will be replicated to all the primary and
> backup copies, right?
>

Right. As I noted before, I assume the CacheStore load is an expensive
operation itself, so this change should not add significant degradation to
the cache miss.

Reply via email to