Click here to monitor SSC
SQLServerCentral is supported by Redgate
Log in  ::  Register  ::  Not logged in
Home       Members    Calendar    Who's On

Add to briefcase

Service Broker Expand / Collapse
Posted Thursday, March 12, 2009 1:40 PM
SSC Journeyman

SSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC Journeyman

Group: General Forum Members
Last Login: Friday, March 16, 2012 3:51 PM
Points: 83, Visits: 300
Any good links or books on Service Broker. There is a neeed in our company to do the datawarehouseload real time. Currently Data goes to our ERP. We use Datamirror to pull the data from Stage and we use SSIS/DTS to pull the data from stage to our datawarehouse everynight. But we want to implement this real time. Is service broker a way to go? If yes, can somebody advise me on how to start on service broker piece? I am kind of novice in this area. If not, can you guys think of anything else to bring the data realtime?

Post #674659
Posted Thursday, March 12, 2009 2:24 PM



Group: General Forum Members
Last Login: Tuesday, October 25, 2016 8:37 AM
Points: 6,822, Visits: 8,830
I did write a little article "adventures with service broker" stating my first experiences with SSB.

IMO Klaus Aschenbrenners book is still one of the best !
(Pro SQL Server 2005 Service Broker)
He also published a SQL2008 version.


Don't drive faster than your guardian angel can fly ...
but keeping both feet on the ground won't get you anywhere

- How to post Performance Problems
- How to post data/code to get the best help

- How to prevent a sore throat after hours of presenting ppt ?

"press F1 for solution", "press shift+F1 for urgent solution"

Need a bit of Powershell? How about this

Who am I ? Sometimes this is me but most of the time this is me
Post #674713
Posted Wednesday, April 14, 2010 12:46 AM


Group: General Forum Members
Last Login: Wednesday, September 14, 2016 6:32 AM
Points: 151, Visits: 331
Hi ,
Just to add on iam attaching one article which i found is useful.Just read this also:
Why use asynchronous, queued messaging? Queues enable flexible work scheduling, which can translate into big improvements in both performance and scalability. Take order entry, for example. Your system needs to process some parts of an order—such as order header, available to promise, and order lines—before you can consider the order complete. But other parts of the order—such as billing, shipping, and inventory—realistically don't have to happen before the system commits the order. If a system can process the parts of the order that can be delayed in a guaranteed but asynchronous manner, your organization can process the core part of the order faster.

Asynchronous queued messaging can also provide opportunities for increased parallelism. For example, if you need to check a customer's credit and the availability of ordered items, doing both processes simultaneously can improve overall response time. Queuing can also let systems distribute processing more evenly, reducing the server's required peak capacity.

What Service Broker can do. With Service Broker, Yukon becomes a platform for building loosely coupled, asynchronous database applications. Most large database applications have one or more tables that they use as queues. Although using a table as a queue is useful for improving performance and scalability, keeping transactional accuracy is difficult. Service Broker addresses the complexity of building table queues by implementing queues as built-in database objects. The queue-handling code built into the database kernel handles the locking, ordering, and multithreading processes that cause problems in most homegrown database queues.

To scale out asynchronous database applications, Service Broker includes reliable, transactional messaging between SQL Server instances. Service Broker uses a dialog mechanism that transmits the message between two services exactly once and in order, preventing duplicate messages. To ensure that an application is always running to process received messages, Service Broker includes an activation feature that increases the number of processing stored procedures as the workload increases and decreases the number of stored procedures as the queue workload decreases or becomes inactive.

What Service Broker isn't. Service Broker isn't a general-purpose messaging system. Service Broker supports only transactional messaging.

  Post Attachments 
Service Broker.txt (123 views, 5.15 KB)
Post #902897
Posted Wednesday, April 14, 2010 11:45 AM



Group: General Forum Members
Last Login: Wednesday, February 10, 2016 11:50 AM
Points: 6,897, Visits: 13,559
One of my preferred sites:

A pessimist is an optimist with experience.

How to get fast answers to your question
How to post performance related questions
Links for Tally Table , Cross Tabs and Dynamic Cross Tabs , Delimited Split Function
Post #903414
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse