You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Yakov Zhdanov (JIRA)" <ji...@apache.org> on 2014/12/03 14:31:14 UTC

[jira] [Created] (IGNITE-34) revisit queues for write behind and local stores

Yakov Zhdanov created IGNITE-34:
-----------------------------------

             Summary: revisit queues for write behind and local stores
                 Key: IGNITE-34
                 URL: https://issues.apache.org/jira/browse/IGNITE-34
             Project: Ignite
          Issue Type: Task
            Reporter: Yakov Zhdanov


Now we have separate queues to process updated entries.

What about using another approach?
# Maintain counters - unprocessed entries per cache, per partition, cache map segment
# Special thread wakes up each time counter gets positive from 0 and scans updated partitions and flushes them to store.
# Removed entries stay in memory until worker processes them (potential OOME)
# After entry is processed counters get decremented.

This approach is more lightweight and more stable when store becomes unavailable since does not require any additional allocations, searches, etc.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)