Abstract

This chapter will introduce the high-availability and scalability options you can choose from when you deploy your Service Broker applications. This chapter will cover the following topics in detail: Database mirroring: Database mirroring is a new high-availability feature in SQL Server 2008. With database mirroring, you can mirror a SQL Server 2008 database between two server instances. One database acts as the principal, and the other database acts as the mirror. When you use Service Broker, you can also mirror your Service Broker service between two databases, and Service Broker will ensure that your messages are forwarded to the current principal. Load balancing: Service Broker provides built-in functionality for load balancing. When you provide more than one route at the initiating service for a specific service name, Service Broker randomly picks a route from the available ones and sends the conversation’s messages along this route. Therefore, load balancing is easy with Service Broker. Message forwarding:Message forwarding allows an instance of SQL Server to accept messages from outside the instance and send those messages to a different instance. In this case, the instance acts as a Service Broker message forwarder. With message forwarding, you can encapsulate your physical Service Broker infrastructure and use message forwarding to scale things out. Configuration notice service: An administrator typically configures Service Broker routing information. To provide dynamic routing information for your Service Broker application, you can use a configuration notice service. A configuration notice service exists on the initiating service side and provides dynamic routing information for a target service. Data-dependent routing: One strategy to achieve scale-out is to load-balance a Service Broker service. Another strategy is data partitioning. While Service Broker naturally provides a mechanism for load balancing, it is also possible to build highly scalable Service Broker applications that use partitioned data using Service Broker. The key to achieving this lies in data-dependent routing, which is the subject of this section. KeywordsLoad BalanceRequest MessageMessage TypeClassifier ComponentService BrokerThese keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Full Text
Paper version not known

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.