Jack Liu’s Post

View profile for Jack Liu, graphic

Principal Cloud Solutions Architect

📌 Idempotency : A certain operation can be applied many times , without changing the result after the fist time the operation is applied, which means that operation can be retransmitted or retired with no additional side effort. ✅ Idempotency is particularly important in distributed systems, where messages may be retried due to failures, timeouts, or other issues. Idempotency ensures the system remains consistent without unintended side effects, even if a request is duplicated or repeated. ↗ When a user found API call failed, how can we handle it , and it can be depend on what are building and choose one of the following ways to handle it : 1. we ignore and more forward ; 2. we pass the observation error to the user ; 3. we retry on our own 🔗 Where can duplication occurs: Duplication caused by transmission issues, Duplication caused by receiver issues and Duplication caused by service issues. ✴ Idempotency key(token) : which is used to **retry** method to meet impotency API call, which can be common passed through **Request Header** or **Query Parameter**. 🎉 When you use **AWS Lambda** to build your distribute systems, you can consider using Powertools Idempotency utility  to make you Lambda functions idempotent. The following post from Rahul Pulikkot Nath give us one example about how to did it . https://lnkd.in/g-H9yqpv

How To Easily Make Your .NET AWS Lambda Function Idempotent

How To Easily Make Your .NET AWS Lambda Function Idempotent

rahulpnath.com

To view or add a comment, sign in

Explore topics