These are chat archives for atomix/atomix
Depends on how you use them. Many instances of the same lock being locked/unlocked continuously will have major scalability problems that are unavoidable because all operations have to go to the same partition and locks really require multiple phases to acquire and release:
• Raft write to acquire a lock
• Event to the client to notify it that the lock was acquired
• Raft write to release the lock
If you’re using many different locks then they will be scaled across all the configured partitions. You could also use the primary-backup protocol for locks, but I wouldn’t.