Skip to main content

Locking and Transaction Management

  • Chapter
Pro SQL Server 2005 Service Broker
  • 212 Accesses

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 49.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Rights and permissions

Reprints 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

Publish with us

Policies and ethics