Scaling-out from 1 to 3 MessageBox databases instead of 1 to 2

Scalability is ability of a system, network, or process to handle a growing amount of work in a capable manner or its ability to be enlarged to accommodate that growth.

Since BizTalk works on SQL layer, it is very common to find bottlenecks in the MessageBox database during performance and scalability tests of a high volume BizTalk solution when you try to determine the Maximum Sustainable Throughput.

These bottlenecks can be:
1.  CPU  – In case of complex orchestration scenarios, the MessageBox database consumes a lot of CPU resources.
2.  Lock Contention –  Complex scenarios with multiple host instances or orchestrations tend to create lock contention on the MessageBox database.
3.  Disk I/O – Disk I/O is a common bottleneck for the MessageBox database.

One of the significant optimization step when dealing with scaling the BizTalk Message Box is adding new message boxes even when they are created in the same SQL Instance.

But you will need to add three message boxes to achieve the best performance. Why so?

Lets consider the 1 SQL server topology with 2 BizTalk Servers

1

Now lets say if CPU processing is a bottleneck, then if you add only one MessageBox database to this topology, the master MessageBox database will still be CPU bound and the secondary MessageBox database will be under-used.

If you disable publishing on the master MessageBox database and dedicate the master MessageBox database to do only routing, the secondary MessageBox database will do the publishing. However, this will not increase overall throughput because the secondary MessageBox database is the only publisher and becomes the bottleneck. So, adding 2 secondary MessageBox databases and disabling the publishing on the master MessageBox database is recommended for scaling-out in this scenario.

2

How to add multiple Message Box database in an existing BizTalk group

http://blogs.msdn.com/b/biztalknotes/archive/2013/08/06/how-to-add-multiple-message-box-database-in-an-existing-biztalk-group.aspx

Resource:

https://msdn.microsoft.com/en-us/library/cc296848(v=bts.10).aspx

http://social.technet.microsoft.com/wiki/contents/articles/3253.multiple-message-boxes-in-biztalk-scale-out-message-box.aspx

Advertisements

2 thoughts on “Scaling-out from 1 to 3 MessageBox databases instead of 1 to 2

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s