Abstract
A Service Broker application always must use some kind of locking logic to process messages from a service queue. Service Broker provides a concept referred to as conversation groups for this reason. As soon as you beging working with locking, you must also have a look at transaction management with Service Broker, because transaction management affects the overall performance of your Service Broker application. This chapter will discuss the following two techniques:
-
Conversation groups and locks: Service Broker puts messages of related conversations into a so-called conversation group. Within a conversation group, Service Broker ensures things such as ordered message processing, reliable delivery, and synchronization support for multiple queue readers.
-
Transaction management: You can design and build scalable Service Broker applications through different approaches in the transaction management. This section will look at several approaches and show you how they affect performance.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Rights and permissions
Copyright information
© 2007 Klaus Aschenbrenner
About this chapter
Cite this chapter
(2007). Locking and Transaction Management. In: Pro SQL Server 2005 Service Broker. Apress. https://doi.org/10.1007/978-1-4302-0306-3_6
Download citation
DOI: https://doi.org/10.1007/978-1-4302-0306-3_6
Publisher Name: Apress
Print ISBN: 978-1-59059-842-9
Online ISBN: 978-1-4302-0306-3
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books