• Release History
  • Documentation
  • Back to www.mscrm-addons.com
  • Release History
  • Documentation
  • Back to www.mscrm-addons.com
home/Knowledge Base/DocumentsCorePack(DCP)/DocumentsCorePack Load Balancing

DocumentsCorePack Load Balancing

7526 views 3 Updated on November 20, 2023

If there are many documents to be processed by a DocumentsCorePack service, one service may not be enough. This issue can be solved by enabling DocumentsCorePack (DCP) Load Balancing. This enables scaling document generation power significantly. The impact of Load-Balancing can be seen in this article: Performance benchmark, limitations & scalability. 

This documentation outlines the functionality of a DocumentsCorePack Load Balancing Service and how to install it. 

The functionality of the Load Balancing Service

In the default setup, all document generation requests are assigned to the same service. This service processes jobs one after the other in the queue – comparable to a printing service. Although single document requests are prioritized (they will be generated between the batch document jobs), users might need to wait for the completion of a batch to get their document, and if the batch is big, they may need to wait awhile. So, if you run large batches, having multiple services to get better performance can be very helpful. 

The logic of the Load Balancer works as described in the following figure. 
Essentially, it delegates the workload to be handled by multiple services. The main priority is always on manually triggered document generation requests since users are actively waiting for the documents to be finished to continue their work. 

Figure 1: Spread workload across multiple services

Thus, with Load Balancing being active, there will always be at least one service exclusively reserved for single document generation jobs, such as Document Service 1 in the above figure. At least one service is also reserved for batch document generation requests and background jobs (PowerAutomate or workflows), such as Document Service 2 and 3 in the below figure. The basic load-balancing package will provide you with a total of 5 services. 

It is also possible to add more services to your Load Balancer, where you can define how many services should be available for single document generation jobs as well as for batches. 

Benefits of Load-Balancing
Figure 2: Benefits of Load-Balancing in DocumentsCorePack

 

How to configure a Load Balancing Service online? 

 
First, create a new service in DocumentsCorePack Online (If you have not set up a service yet, please have a look at this article with the corresponding video). Once you have created a new service, you will be provided with the Online Configuration window where you can configure your service in detail. If you have already configured a service, you will see an overview of your hosted service(s).  

The Load Balancing licenses can be found on our website. You first must determine and select how many licenses you require and then in the so-opened window, you can buy the DocumentsCorePack Load Balancing Service.  The minimum package contains five services.  

​The configuration for the Load Balancing Service is straightforward. In the Online Configuration window, click on the Load Balancing button. 

Online Configuration window
Figure 3: Online Configuration window
 
 
 
The so-opened Load Balancer Configuration window provides you with information about how many ❶ available Load Balancer Services you have. Here you can specify how many load balancers you want to configure ❷ (Please note: there must be at least three) and how many services you want to ❸ reserve for single documents only.
 

For example: There are 5 Load Balancing licenses available and want to configure all 5 and reserve 2 of them only for single documents and the rest are for batch document generation (see figure below).

  Load Balancer Configuration window
Figure 4: Load Balancer Configuration window

 

How to configure a Load Balancing Service On-Premise?

The creation of a Load Balancing Service in DocumentsCorePack Online is different than in DocumentsCorePack On-Premise. Learn here how it works.

​​That’s it! we appreciate your feedback! Please share your thoughts by sending an email to support@mscrm-addons.com.

 

​

​

Was this helpful?

3 Yes  8 No
Related Articles
  • Attaching documents from SharePoint when sending emails via the DocumentsCorePack dialog
  • How to: automate quote generation and delivery upon activation via Power Automate
  • Dynamic document elements in Multipart documents
  • Limiting access to SharePoint for custom app access using Sites.Selected
  • Batch document generation via the DocumentsCorePack dialog
  • Equip Canvas Apps with Document Creation Capabilities 
Latest Articles
  • Attaching documents from SharePoint when sending emails via the DocumentsCorePack dialog
  • How to: automate quote generation and delivery upon activation via Power Automate
  • Dynamic document elements in Multipart documents
  • Limiting access to SharePoint for custom app access using Sites.Selected
  • Batch document generation via the DocumentsCorePack dialog
Popular Articles
  • DocumentsCorePack Template Designer – Getting Started
  • Step-by-Step: How to configure a One-Click-Action
  • Where do I find the Unique Organization name in Microsoft Dynamics 365?
  • Application Access for Dynamics 365 (App Access)
  • DocumentsCorePack Online Service Configuration
Top Rated Articles
  • “Undefined”-labels in Chrome and Edge 114 and higher
  • Important information for Dynamics 365 online customers using DocumentsCorePack and/or AttachmentExtractor
  • How to activate the DocumentsCorePack connector for PowerApps & Microsoft Flow
  • Step-by-Step: How to configure a One-Click-Action
  • How licenses are counted
Categories
  • *News and General Infos* 53
  • Webinars 37
  • Template Designer(DCP 193
  • DocumentsCorePack(DCP 211
  • TelephoneIntegration (TI 65
  • AttachmentExtractor (AE 65
  • PowerSearch (PS 48
  • ActivityTools (AT 59
  • SmartBar (SB 53
  • GroupCalendar (GC 46
Our Vision

“We see it as our purpose to provide products that simplify and speed up our customers’ Microsoft Dynamics 365 experience.”

Knowledgebase
LogIn
mscrm-addons.com
  • Products
  • Online Shop
  • Downloads
  • My Account
About Us
  • About Us
  • Case Studies
  • Newsletter
  • Partner Program
  • Contact
Support
  • Support
  • Terms & Conditions
  • Documentation
  • Webinars
  • Legal Documents
  • Impressum
  • © 2022 www.mscrm-addons.com. All Rights Reserved.