PrismaP
Prisma3mo ago
5 replies
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?
Was this page helpful?