I have built a langchain agent api using FastAPI. It works fine for one request, but when 2 users request simultaneously, it takes very long and till then I get a "Time Out" response in my frontend.
Can anyone please help me deploying such an application in production, so that multiple users can use it?
I am using the free open ai api with rate limits. Can that be an issue?