79586966

Date: 2025-04-22 16:07:56
Score: 1
Natty:
Report link

While I am not sure about how you would go about handling this issue with Vercel, given that the orchestrator takes care of the limits on data connections, I would recommend keeping the max_connections to as low as 5 and also use Amazon's Aurora DB or something similar to Supabase. There's more literature by Vercel available at https://vercel.com/guides/connection-pooling-with-serverless-functions. Their recent 'fluid compute' feature has a longer serving instance that might reduce your connections whereas something like Supabase that creates a layer of managed APIs to interact with instead of using a driver or plugin is useful in such instances.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Sid