New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Question] How does load balancing work for Bot service in Azure? #3004
Comments
@neetgupta7 For reference, are you using .NET or Node SDK for BotBuilder? |
.net |
The BotBuilder is restful and stateless. Statelessness is obtained by a State Service implementation: https://docs.microsoft.com/en-us/bot-framework/dotnet/bot-builder-dotnet-state You should override the default implementation by providing a custom IBotDataStore. There is more information on the State Service here: https://stackoverflow.com/questions/44665826/state-in-botframework/44711219#44711219 From the referenced doc:
"What will happen if one message is served to one server and the next to other." <-- the bot will respond correctly, since there is no session or state information in the host environment. The Microsoft Bot Framework team prefers that how to questions be submitted on Stack Overflow. The official Bot Framework Github repo is the preferred platform for submitting bug fixes and feature requests. |
I am facing an issue when I manually scale out the app service the conversations are not having a continuity like i designed |
Hello, did you find a solution for this?? |
Hello Eric, Code:
|
Hello
Since our Bot will cater to needs of thousands of users it will be required for the host environment to support load balancing or be scalable. So I want to understand the options available on Azure. How will multi server configuration affect the session management in case of Bots. What will happen if one message is served to one server and the next to other.
The text was updated successfully, but these errors were encountered: