How are you handling webhook retries and event processing at scale on AWS?

One architecture question we’ve been discussing internally is where to draw the line between reliability and complexity when processing large volumes of events.

It’s easy to start with a simple Lambda-based workflow, but as retries, duplicate deliveries, dead-letter queues, and monitoring requirements grow, the architecture can become much more involved.

For teams handling high-volume event processing on AWS, what services and patterns have worked best for you? Have you found success with SQS, EventBridge, Step Functions, or a different approach entirely?

I’d be interested in hearing lessons learned from real production systems.

The question you ask is way too broad.

Fair point. I probably cast the net a bit too wide. To make it more specific, I’m particularly interested in how teams handle retries, duplicate event delivery, and failure recovery when processing large event volumes on AWS. Have you found a particular combination of services or patterns that worked especially well in production?

what do you mean by large event volumes? aws services typically just do their job at any scale and the cost scales linearly with load. You might want to look into idempotency and how its usually handled when required, we use postgres but for larger event volumes you can use dynamodb.

Messages land in SQS, DLQ with receive for failures. Add in the “fair queues” feature when you have multiple services/tenants hitting the same queue.

This setup delegates all the retries/failure management/etc to AWS. The only part you need to handle yourself is potential duplicate deliveries.

APIGateway endpoint directly to eventbridge with validation on the endpoint, configured using a terraform module. Then it depends what the event will be used for - could go to SQS for application processing or directly to Lambda. DLQs configured with alarms set with messaging to slack channel. DLQs are handled manually as there are seldom issues

That last line hit home for me. I work with a bunch of folks that are big time into Kubernetes, and that’s my weekly battle. “Nothing you’re building requires it - so why are you using it?” We wheel spin a lot. It’s fun.

the SQS+DLQ-with-redrive answer is the boring correct one. the line you’re looking for: ingest should be dumb and fast (API Gateway → EventBridge or straight to SQS, validate at the edge, ack the webhook immediately), then do all the real work async off the queue. the mistake is processing inline in the webhook handler, then a slow downstream means the sender retries and you double-process. idempotency keys on the consumer save you there.

Assume at least once delivery and build idempotency in. Retry but keep it minimal. Better to fail fast and alarm on the dlq imo.

are you sending webhooks or receiving them

Appreciate the insight. Delegating retries and failure handling to AWS definitely helps reduce operational complexity. The duplicate delivery piece is the area I’m most interested in have idempotency keys been enough in your experience, or did you end up adding other protections?

That’s a fair point. probably I wasn’t clear enough about what I meant by complexity. I agree that AWS handles the infrastructure side remarkably well, and services like SQS, Lambda, and DLQs keep the core architecture relatively simple.

The complexity I’m thinking about is more at the application layer idempotency, event ordering, duplicate handling, and ensuring downstream systems behave correctly when retries occur. That’s where we’ve seen most of the challenges when working with event-driven systems.

Appreciate the perspective, especially the point about avoiding unnecessary infrastructure sprawl.

I know exactly what you mean. Kubernetes can solve a lot of problems, but it can also introduce complexity that smaller systems don’t necessarily need. Finding the right balance between flexibility and operational overhead is always an interesting challenge.

For our use cases it’s been enough - but if you have an hour to spare

https://www.youtube.com/watch?v=xc9P6wbhLwE

is worth a watch. These guys are very good at explaining the tradeoffs you need to think about when designing exactly these types of systems.