Yes and no, if you publish your information from the local API through a lock in order to prevent the mutex, depending on how the lock is configured, your implementation may be exactly what the distributed lock is trying to do, but if you have not developed an API, then you will have to delve into the source of the API to find out if this is a localized or distributed locking system. Honestly, a castle is a castle, it is a castle, it is trying to do the same, no matter what. The advantage of distributed locking over localized locking is that you already take precedence into account to prevent clients from accessing expensive cache points.
source share