The Secret Life of AWS: The Real-Time Loop (Amazon API Gateway WebSockets)
The Secret Life of AWS: The Real-Time Loop (Amazon API Gateway WebSockets) How to push asynchronous backend updates to your frontend using WebSockets #AWS #APIGateway #WebSockets #CloudArchitecture Margaret is a senior software engineer. Timothy is her junior colleague. They work in a grand Victorian library in London — the kind of place where code quality is the unspoken objective, and craftsmanship is the only thing that matters. Episode 65 Timothy was reading a furious customer feedback form. He turned his monitor toward Margaret as she walked into the studio. "Our event-driven architecture is lightning fast, but it is causing a severe customer experience problem," Timothy explained. "A customer clicked 'Checkout' on our website. The API Gateway instantly returned a success response, and the browser showed a green checkmark. But three seconds later, the backend Saga realized the item was out of stock and triggered the automated refund." "So t...