Hacker News new | ask | show | jobs
by anderjaska 2168 days ago
Hey guys! Sorry for the downtime. Working on a fix!
1 comments

It appears that Plaid is rate limiting and mongodb is at max number of connections.
Going to update mongo. There isn't much I can do about plaid
Maybe a quick cache in front of Plaid for now? Even in-mem might be a decent short term solution.
Ah if only I wasn't using vercel and serverless functions!
You can add a `Cache-Control` response header with `s-maxage` in your Serverless Function to cache at the Edge.

https://vercel.com/docs/v2/serverless-functions/edge-caching

https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Ca...