These are chat archives for atomix/atomix
We are no longer monitoring this channel, please join Slack! https://join.slack.com/t/atomixio/shared_invite/enQtNDgzNjA5MjMyMDUxLTVmMThjZDcxZDE3ZmU4ZGYwZTc2MGJiYjVjMjFkOWMyNmVjYTc5YjExYTZiOWFjODlkYmE2MjNjYzZhNjU2MjY
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.