P
Prisma2w ago
Yarin

Prisma x CosmosDB

hi guys, our team is facing some speed issues when going from local to serverless on our prisma x mongoDB project (Cosmos DB is used on Azure). we noticed that removing some of the joins is a bit faster, but we're still facing 2-10 seconds load times for objects when react is trying to fetch them. we already implemented infinite scroll and pagination when applicable. has anyone faced a similar issues and managed to solve it? or rather has advice on what we can do to optimize how prisma and cosmos interact?
3 Replies
Prisma AI Help
You decided to hold for human wisdom. We'll chime in soon! Meanwhile, #ask-ai is there if you need a quick second opinion.
Yarin
YarinOP2w ago
bump bump bump
Nurul
Nurul2w ago
Hey! I would recommend creating a GitHub Issue about this. We don't have any tests running against CosmosDB. It is difficult to predict what might be causing it without looking at the code.

Did you find this page helpful?