Scale app - OfficeDev/microsoft-teams-apps-company-communicator GitHub Wiki
Scale
If you need to scale the app for large number of users(greater than 200K), please follow the below steps.
1. Create new Storage Account for Durable function.
-
Find and goto the resource group which is used for the Company Communicator app deployment.
-
Click on + Create.
-
Then, search for Storage Account and click on Create.
-
Now, fill in the fields such as Storage account name and click on Review + Create.
-
Once the resource is created, then goto Storage Account.
-
Under Security + networking, click on access keys.
-
Then, click on Show keys and copy the key1 connection string.
-
Now, goto the Company Communicator prep function and click on Configuration.
-
Update the value of Azure.WebJobsStorage with the connection string from step 7.
-
Click on Save to commit changes.
Please make sure to keep the below value less than 50rps, as going over this rate can get the bot blocked.
"serviceBus": { "messageHandlerOptions": { "maxConcurrentCalls": 30 } }