Building Human-in-the-Loop E-Commerce Workflows with AWS Durable Lambda Functions

Building Human-in-the-Loop E-Commerce Workflows with AWS Durable Lambda Functions

QuantaSneaks is an AI-enabled shoe company famous for its x-factor worldwide. After the immense success of its predecessor, the revolutionary QuantaSneaks 1000 👟 is being launched in a weekend sale. The social media campaign is set up, and there is no doubt that sales are going to be record high. However, the team is concerned … Read more

AWS Certification Discount Voucher 2026

aws certification discount code

AWS exams can be quite costly. Especially if it’s your first certification exam and you don’t have 50% discount code. In this blog post, I will share active AWS certification discount vouchers for 2026. Udemy AWS Exam Vouchers As of May 2026, Udemy is offering exam vouchers for foundational and associate exams at a discounted … Read more

Implementing Saga Pattern With Lambda Durable Function

Saga Pattern using AWS lambda durable function

When you hit the “Place Order” button, that event triggers a series of steps, including inventory reservation, payment processing, and shipping initialization. Now, suppose your card is charged by the payment service (Stripe đŸ€”), but the API call to the third-party shipping service failed. Modern systems don’t live inside a single database anymore. You can’t … Read more

AtMostOncePerRetry vs AtLeastOncePerRetry Semantics in Lambda Durable Function Step

Lambda Durable Function Semantics and Retry Strategy

For a durable Lambda function, standard errors at any step are checkpointed and handled during the next replay by retry-strategy configurations. However, there can be scenarios where a durable step starts execution but fails to complete, while also leaving no ERROR checkpoint behind. A common example is a Lambda execution timeout. In such cases, step … Read more

Async/Await-Style Requests with AWS WebSocket API Gateway & Lambda

ws-await library tricksumo

Some time ago, I was building a chat application using AWS Websocket API gateway. Things were going smoothly. I created a WebSocket API Gateway, added $connect, $disconnect, and sendMessage/addGroup routes. From the frontend (React) side, everything was fire-and-forget. You send a message, and the onMessageHandler takes care of it đŸ’ȘđŸŒ But then a new requirement … Read more

Pure Vs Impure Functions In Javascript

Pure vs Impure function in Javascript

In this post, we will see the difference between pure functions and high-order functions in javascript. What are Pure Functions in Javascript? Functions which does not produce side effect are called pure function. This means that it does not depend on any external variable (like global). Also, it does not modify any external variable. Such … Read more

Everything About useState Hook in React

useState Hook React

useState is one of the first hooks I came across while learning React. It is easy to understand/use but equally fascinating/confusing at the same time ( just on click of a button, things update on-screen 😼).  Let’s dive in!!! Why useState Hook? React does not detect change in normal variables that’s why useState hook is required. … Read more