Denis Chudov created IGNITE-23124:
-------------------------------------

             Summary: Configurable deadlock prevention policies and retry count 
after LockException
                 Key: IGNITE-23124
                 URL: https://issues.apache.org/jira/browse/IGNITE-23124
             Project: Ignite
          Issue Type: Improvement
            Reporter: Denis Chudov


*Motivation*

Currently WaitDieDeadlockPreventionPolicy is used in AI3 along with retries of 
transactional operation in case of lock conflict. This approach provides better 
throughput (because of no waits) but worsens the latency. Different approach 
(server side waiting, like timeout-wait deadlock prevention) can have positive 
effect on latency but decreases throughput. We should provide ability to 
configure per-transaction this depending on workload.

See benchmark results in IGNITE-22286.

*Definition of done*

TransactionOptions are enriched with deadlock prevention policy (at least, 
WaitDieDeadlockPreventionPolicy and TimeoutWaitDeadlockPreventionPolicy with 
configurable waiting time) and retry count.



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

Reply via email to