THE SQL Server Blog Spot on the Web

Welcome to SQLblog.com - The SQL Server blog spot on the web Sign in | |
in Search

The Bit Bucket (Greg Low): IDisposable

Ramblings of Greg Low (SQL Server MVP, MCM and Microsoft RD) - SQL Down Under

Book: Pro SQL Server 2008 Service Broker: Klaus Aschenbrenner

I've met Klaus a number of times now and attended a few of his sessions at conferences. Klaus is doing a great job of evangelising Service Broker. I wish the SQL Server team would give it as much love.

Service Broker is a wonderful technology, let down by poor resourcing. Microsoft did an excellent job of building the plumbing for this product in SQL Server 2005 but then provided no management tools and no prescriptive guidance. Everyone then seemed surprized that the takeup of it was slow. I even heard noises questioning it's future a while back and I hope those noises have quietened now. The lack of serious tooling in 2008 was a case of seriously "dropping the ball" regarding the product. It also highlights the other real problem with SSMS in the lack of extensibility. If a supported extensibility model for SSMS was available, others would have stepped up to the plate and we'd have really good Service Broker tooling by now, even when Microsoft hadn't provided it.

Enterprise clients are finally getting their heads around what Service Broker does and are starting to use it, in spite of the lack of resources. I've lost count of the number of sites I've gone into that have a problem that Service Broker would address beautifully but when you suggest it, you get very blank stares back. What makes this worse is that most DBAs aren't very familiar with message-based architectures. Ironically, these sorts of architectures can give them much of the scalability they're trying to get from the product. I constantly go into sites where I see people building an unreliable "house of cards" with bunches of inter-connected systems, the failure of any one of which renders the whole system unusable. Asynchronous processing adds a real new dimension to SQL Server and is such a good solution to so many problems.

This book from Klaus is an update to the 2005 book and does a wonderful job of covering most of what you need to know to work with Service Broker. The book is well-written and builds a good story from beginning to end.

The book isn't perfect. In particular, I noticed a number of places where (I assume) a global replacement of the word 2005 with 2008 caused errors, such as statements about mirroring first appearing in 2008, etc. Also, I'd have to disagree with some of the advice that's outside the realm of Service Broker. For example, Klaus shows how to change the SQL Server service account by using the services snap-in for the MMC. The service account should always be changed from within SQL Server Configuration Manager as it updates ACL's, etc. as well as the logon account.

But these sorts of details are minor and Klaus has done a wonderful job of showing how to use Service Broker and explaining why you'd want to do so.

Recommended!

http://www.amazon.com/Pro-Server-2008-Service-Broker/dp/1590599993/ref=sr_1_3?ie=UTF8&s=books&qid=1269815512&sr=8-3

 

Published Monday, March 29, 2010 10:31 AM by Greg Low

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

 

Jonathan Kehayias said:

+1 on this being an excellent book.  I learned a lot about SB from Klaus before loaning this to another SQL DBA that was having problems getting into SB.

March 28, 2010 7:53 PM
 

David Gardiner said:

It's ironic that because SMSS is based on the Visual Studio shell, you can actually build SMSS addins in a similar way to regular VS addins. But as my friend (and former colleague) Ben Laan found out when he created his SQL Formatter - http://code.google.com/p/sqlformat/ , it isn't that well documented.

If SMSS adopts the new WPF-based shell, that may help things along a bit too as far as lowering the bar to creating new addins/extensions.

-dave

March 28, 2010 8:55 PM
 

RBarryYoung said:

Excellent post Greg, This perfectly expresses my own feelings and views on Ms & Service Broker, a wonderful tool and technology, (I would even go so far as to say *Game-Changing*) that languishes for a lack of love from MS.  And Klaus's book is easily the best Service Broker book I have ever found.

March 29, 2010 10:44 AM
 

Allen White said:

After finally getting a Service Broker solution implemented successfully, I'm really impressed with the

April 3, 2010 6:50 PM
 

Rob Wylie said:

Klaus's book was and is an excellent guide to getting my head around service broker.   Of course, you helped abit as well!!  

May 2, 2010 8:45 PM
 

Tony S. said:

I too am enjoying this book.

The section on Transaction Management is very helpful, let down only by the fact that there was little guidance on how to handle the unclosed conversations when using set processing. The conversations need to be ended at both the initiator and target.

In all, a well written,informative and greatly detailed book. Highly recommended. Tony S.

May 20, 2010 7:31 AM
 

Paul Hunter (SqlNightOwl) said:

So many good reports that I just ordered the book.  Now it's just a waiting game.

March 1, 2012 8:59 PM
 

Greg Low said:

Ah, the answer to the waiting game is the word "Kindle" :-)

March 2, 2012 2:34 PM

Leave a Comment

(required) 
(required) 
Submit

This Blog

Syndication

Tags

No tags have been created or used yet.
Powered by Community Server (Commercial Edition), by Telligent Systems
  Privacy Statement