sample-app-aoai-chatGPT icon indicating copy to clipboard operation
sample-app-aoai-chatGPT copied to clipboard

Long Response times in App

Open baerensau opened this issue 1 year ago • 4 comments

Hi, we have the problem that our app service has very bad response times (according monitoring from 20ms up to 40s!). So when the website is reloaded it takes often very long. The app service is running on Azure plan S2. responsetime

baerensau avatar Dec 20 '23 08:12 baerensau

+1 , we have the same issue, the app response times are too high, sometimes hitting 30 - 40 seconds. The ASP is Premium v2 P3V2, single instance.

image

dmbuk avatar Jan 09 '24 11:01 dmbuk

Hi folks, please see this section in the readme: https://github.com/microsoft/sample-app-aoai-chatGPT?tab=readme-ov-file#scalability You may be able to improve performance of your app by updating the gunicorn settings to have multiple threads and workers. Additionally #460 should improve response time when multiple users are accessing the app.

sarah-widder avatar Jan 11 '24 18:01 sarah-widder

Thanks @sarah-widder for the suggestion. We have a UAT copy of the app (using the same AI and Search), it has no users, but response times are still too high. Here it took 1.8 minute: image

No changes have been made recently to the app or backend services. Any advice?

dmbuk avatar Jan 18 '24 13:01 dmbuk

@dmbuk, @sarah-widder - Did you manage to figure out an approach/solution to reduce the response times? We've tried running various production sized ASPs, without luck.

nrishoj avatar Apr 03 '24 07:04 nrishoj