Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using Bootstrap CSS in ASP.NET web forms
Message
From
15/06/2013 12:22:55
 
 
To
15/06/2013 12:15:13
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 9.0
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01576247
Message ID:
01576489
Views:
35
Maybe 'clumsy' was the wrong word. But you have to use it even within the same MongoDB database if you want 'transactional' behaviour and the implementation IS fairly complex.....

>I wouldn't say a two-phase commit is clumsy. It's needed in SQL Server if you want transactions across multiple databases.
>
>
>>I did say 'less need' not 'no need' :-}
>>But an 'entity' can be self-contained. e.g. One 'customer' record' might contain an array of 'orders', each of which contains an array of 'orderitems' and writing a new order back is one atomic action - so no danger of the 'order' being saved without the 'orderitems'.
>>
>>OTOH, if you wanted to update the stock levels for the products at the same time that would require a transaction. In those circumstances it's up to you to, for example, roll back the order if the product update fails.....
>>
>>MongoDB does handle transactions (but in a somewhat clumsy fashion) : http://docs.mongodb.org/manual/tutorial/perform-two-phase-commits/
Previous
Reply
Map
View

Click here to load this message in the networking platform