use a distributed lock, and a local lock will suffice.Summary
The Redlock algorithm that implements fault-tolerant distributed locks on Redis has raised concerns in the distributed systems community. While Redis is suitable for transient, fast-changing data, it is not designed for consistency and durability expectations. Distributed locking is only necessary for correctness and not efficiency.
💻 Using locks for efficiency purposes only requires local locks, not distributed locks.
CIAM and IAM solutions control how people access an application or system. While IAM is focused on managing employee and partner identities, CIAM is designed to manage customer identities. IAM is deployed in a heterogeneous environment where silos of user data are expected, and it has well-understood employee identity lifecycles. While customers self-register with CIAM, and self-service access management is crucial for this system.