ZanderXu created HDFS-17603:
-------------------------------

             Summary: [FGL] Abstract a LockManager to manage locks 
                 Key: HDFS-17603
                 URL: https://issues.apache.org/jira/browse/HDFS-17603
             Project: Hadoop HDFS
          Issue Type: Sub-task
            Reporter: ZanderXu
            Assignee: Felix N
         Attachments: image-2024-08-14-17-17-28-792.png

Abstract a LockManager to manage locks. 

Some requirements for this LockManager:
 * Cached a fixed number lock instances, such as: 1000
 * Assign a Lock instance to a key and keep this mapping until the key released 
this instance
 * This LockManager needs a high performance, such as: QPS 1000w

 

Some implementations that we can refer to:
 * alluxio.collections.LockPool in Alluxio
 * Implementation in MEITUAN 
!image-2024-08-14-17-17-28-792.png|width=205,height=196!



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

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org

Reply via email to