[jira] [Created] (IGNITE-1678) IgniteAtomicSequence: make additional reservations in advance

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (IGNITE-1678) IgniteAtomicSequence: make additional reservations in advance

Anton Vinogradov (Jira)
Denis Magda created IGNITE-1678:
-----------------------------------

             Summary: IgniteAtomicSequence: make additional reservations in advance
                 Key: IGNITE-1678
                 URL: https://issues.apache.org/jira/browse/IGNITE-1678
             Project: Ignite
          Issue Type: Improvement
          Components: data structures
    Affects Versions: ignite-1.4
            Reporter: Denis Magda


In current implementation a new reservation is made when the current local sequence boundary is exceeded.

In cases when there are many nodes that use the same atomic sequence there can be a situation when all the nodes start doing a new reservation at the same time. This can lead to performance drops.

As a performance optimization it makes sense to start reserving new sequence slot in advance (in background), like when around 80% of current reservation has already been used. Probably we should add a special parameter to {{AtomicConfiguration}} that will manage such behavior.



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