SQL Server MVP Deep Dives, Volume 2
by Brad McGehee, Louis Davidson, Greg Low, Kimberly Tripp, Paul S. Randal, Kalen Delaney, Paul Nielsen
Chapter 28. Getting asynchronous with Service Broker
Mladen Prajdić
SQL Server Service Broker is an asynchronous messaging system built into the database engine. Because it resides in the database, it fully complies with ACID (atomicity, consistency, isolation, durability) principles. Messages are stored, they can’t be lost, and they’re a part of the transactional system. Having a system like this in the database engine opens up a world of new possibilities in database programming. Quite a few things are implemented on the Service Broker architecture inside the database engine, such as event notifications, database mail, server-to-client notifications of changed data, and database mirroring.
Service Broker has been a part of SQL Server since ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access