You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Alexey Scherbakov (Jira)" <ji...@apache.org> on 2024/09/27 09:22:00 UTC

[jira] [Created] (IGNITE-23301) Optimize coarse-grained locks

Alexey Scherbakov created IGNITE-23301:
------------------------------------------

             Summary: Optimize coarse-grained locks
                 Key: IGNITE-23301
                 URL: https://issues.apache.org/jira/browse/IGNITE-23301
             Project: Ignite
          Issue Type: Improvement
    Affects Versions: 3.0.0-beta1
            Reporter: Alexey Scherbakov
            Assignee: Alexey Scherbakov
             Fix For: 3.0


Currently coarse-grained (table,index) locks use the same path as fine-grained key locks.

This leads to broken TPS scaling in high amount of cores environments.

This can be fixed by implementing specialized type of locks to handle high contention scenarios.

We need only IX and S locks to enforce serializability in the current approach.

IX locks can be implemented as counter-based and we need only tryLock(IX)

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)