Microsoft Azure (50 Qs)•Part 3: Advanced Internals, Scale & Production Patterns (Senior / Lead)
How does Azure Service Bus handle Distributed Transactions and Message Deduplication?
senior LevelState ManagementSystem DesignDatabases & SQL
In Simple Words:
- Duplicate Detection: Service Bus tracks
MessageIdover a configurable detection window (e.g. 10 minutes), silently discarding retransmitted duplicate messages to ensure idempotent consumer processing. - Transactions: Allows executing operations across multiple queues or topics inside a single atomic transaction scope (
TransactionScope).