Slowness issue when using Supavisor connection pooling with Prisma #28141
Unanswered
MatteoGauthier
asked this question in
Questions
Replies: 2 comments
-
Same. My only explanation is Supervisor is a shared resource and performance is inconsistent |
Beta Was this translation helpful? Give feedback.
0 replies
-
We are seeing the same performance difference (w/ vs w/o Supavisor) at @dosu-ai and haven't been able to root cause |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey Supabase community, I've set up Supavisor on my project but it turns out that the request is abnormally slow with Prisma when I use supavisor. I compared the time it took to make a request with
console.time
and the result was clear.The tests are done locally with a remote postgres database hosted on Supabase with Supavisor enabled.
Here is my connection string in my
.env
With Supavisor :
291.246ms
Without Supavisor (same connection string in
DATABASE_URL
andDIRECT_DATABASE_URL
) :52.009ms
Does someone can help me ?
Have a nice day 😉
Beta Was this translation helpful? Give feedback.
All reactions