botframework-sdk icon indicating copy to clipboard operation
botframework-sdk copied to clipboard

IIS Application Pool Best Configuration Practices to publish Bots

Open Badolfo opened this issue 9 years ago • 3 comments

Hi,

can you give some website as a reference or provide some specific guidance for IIS application pool best configuration to publish Bot apps, like:

Idle Time-out Load User profile Recycling Regular Time Interval

Feel free to alert regarding other parameters that I should be aware. Thanks in advance.

Badolfo avatar Feb 02 '17 11:02 Badolfo

@willportnoy can you comment and provide some guidance?

msft-shahins avatar Feb 02 '17 20:02 msft-shahins

Since the bot builder stores state outside of the web service

https://docs.botframework.com/en-us/technical-faq/#where-is-conversation-state-stored

the IIS web worker process should be stateless, so you don't need to configure any sorts of state-full session stores.

We generally don't have any recommendations for configuring IIS that are specific to bots. Periodically recycling the app pools seems like good hygiene and timing out unused connections seems reasonable (though we'd expect a fair amount of connection reuse because it's primarily the Bot Framework connector service that posts to the bot's web service).

willportnoy avatar Feb 02 '17 20:02 willportnoy

Assuming @willportnoy's reply answered the question, if not feel free to reopen the issue. Thanks!

Andrea-Orimoto avatar Feb 14 '17 22:02 Andrea-Orimoto