SQL Server 2005 Service Broker, transactions & scalability
From: Klaus Aschenbrenner (Klaus.Aschenbrenner_at_csharp.at)
Date: 12/18/04
- Next message: David Portas: "Re: referenced row"
- Previous message: hoz: "Re: referenced row"
- Next in thread: Stephen Dybing [MSFT]: "Re: SQL Server 2005 Service Broker, transactions & scalability"
- Reply: Stephen Dybing [MSFT]: "Re: SQL Server 2005 Service Broker, transactions & scalability"
- Messages sorted by: [ date ] [ thread ]
Date: Sat, 18 Dec 2004 16:31:22 +0100
Hi!
I'm currently reading through some whitepapers of SQL Server 2005 Service
Broker. It seems that this will be a very great technology to build
scalable, robust and asynchronous database applications. Currently I've one
questions that concerns me a little bit:
As far as I have read a new transaction is started as soon as Service Broker
reads out a message from a queue. The transaction is commited when
everything is done with the message without any exception. During the
beginning of the transaction and the commit of the transaction Service
Broker also checks for new message which are available within the same
conversation group and processes them accordingly.
So my question is now: are these new messages within the same conversation
group processed within the same transaction??? If yes this means that the
duration of the transactions gets more and more longer as more messages are
available within the same conversation group...
What is Service Broker doing when another message must be sent to a Service
Broker instance during the process of a current message? Then only the
sending of the new message is done within the same transaction, isn't it?
Thanks for your help
Klaus Aschenbrenner
MVP Visual C#
www.csharp.at
http://weblogs.asp.net/klaus.aschenbrenner
- Next message: David Portas: "Re: referenced row"
- Previous message: hoz: "Re: referenced row"
- Next in thread: Stephen Dybing [MSFT]: "Re: SQL Server 2005 Service Broker, transactions & scalability"
- Reply: Stephen Dybing [MSFT]: "Re: SQL Server 2005 Service Broker, transactions & scalability"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|