BizTalk Server Tip #4: Minimize persistence points

|  Posted: February 6, 2014  |  Categories: BizTalk Server BizTalk360

biztalk tips

Minimize the amount of persistence points when developing your solution to guarantee scalability, throughput and low latency. Persisting data to the database is the single most expensive task in BizTalk, to avoid them you can group together send shapes in Orchestrations or not using Orchestrations all together by leveraging static or content based routing.

A persistence point happens whenever certain shapes occur on a BizTalk Orchestration such as the end of a transaction scope, the start Orchestration shape, the send shape and the end of the Orchestration. Whenever such persistence point happens the BizTalk engine will save the whole state of the Orchestration to the BizTalk Message Box and since writing to disk is the slowest thing you can do with basic computer resources it comes as a significant cost to the whole operation.

Reducing these persistence points will have a significant impact in the overall performance, you can avoid them all together if you don’t use Orchestrations in scenarios where you only do receive, transform and send. You can also reduce the amount of persistence points within a Orchestration if you for example group send shapes inside a atomic scope or use the Call Orchestration shape instead of the Start Orchestration shape. Read more on this topic here.

biztalk360 demo

Author: Ricardo Torre

Head of Technical Pre-Sales & Product Strategist at BizTalk360, an enterprise software that acts as an all-in-one solution for better administration, operation, support and monitoring of Microsoft BizTalk Server environments.

One Platform Operations, Monitoring and Analytics Software
BizTalk360

microsoft biztalk

Learn more

Over 500 customers across 30+ countries depend on BizTalk360

ServiceBus360

Azure service bus

Learn more

Start managing your Azure Service Bus namespaces in minutes

One Platform - Operations, Monitoring and Analytics Software
BizTalk360

microsoft biztalk

Learn more

Over 500 customers across 30+ countries depend on BizTalk360

One Platform - Operations, Monitoring and Analytics Software
ServiceBus360

Azure service bus

Learn more

Start managing your Azure Service Bus namespaces in minutes

Back to Top