Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / Other Technologies / Service Broker / January 2006

Tip: Looking for answers? Try searching our database.

Confusion about Conversation Groups

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Wells Caughey - 26 Jan 2006 20:15 GMT
In BOL, it says that SQL Server uses Conversation Groups to provide
exactly-once-in-order access to messages, but how can this be if each dialog
has its own sequence numbers?  Two dialogs in the same conversation group
could both have the same or overlapping sequence numbers or sequence ranges.
Does SSB use timestamps or something to know from which dialog the next
message should come?

Thanks,
Wells
Roger Wolter[MSFT] - 26 Jan 2006 20:41 GMT
No, Service Broker uses conversation group locking to ensure that two
threads aren't processing messages n the same dialog simultaneously.
Obviously if two threads were processing the same dialog, message ordering
wouldn't be possible.  In addition, the locks were extended to groups of
conversations to be locked to handle the problems created by related
messages from different sources being processed simultaneously.  This is
different than the locking for dialog ordering.  Bottom line, Service Broker
ensures message ordering within a dialog but it does nothing for the
ordering of messages between dialogs in a conversation group.  In fact,
messages from different dialogs within a conversation group are not
generally delivered in the received order if multiple messages from multiple
dialogs are received.

Signature

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm

> In BOL, it says that SQL Server uses Conversation Groups to provide
> exactly-once-in-order access to messages, but how can this be if each
[quoted text clipped - 5 lines]
> Thanks,
> Wells
Wells Caughey - 30 Jan 2006 14:19 GMT
Ok, now I understand.  Thanks for the clarification.

Wells

> No, Service Broker uses conversation group locking to ensure that two
> threads aren't processing messages n the same dialog simultaneously.
[quoted text clipped - 18 lines]
>> Thanks,
>> Wells
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.