News for hackers. Stuff that matters.
Re:Show HN: Watchmespendmoney by anderjaska on Wednesday July 08, 2020 @04:04PM (#23773680)
It appears that Plaid is rate limiting and mongodb is at max number of connections.
Re:Show HN: Watchmespendmoney by anderjaska on Wednesday July 08, 2020 @04:07PM (#23773707)
Going to update mongo. There isn't much I can do about plaid
Re:Show HN: Watchmespendmoney by devadvance on Wednesday July 08, 2020 @04:08PM (#23773719)
Maybe a quick cache in front of Plaid for now? Even in-mem might be a decent short term solution.
Re:Show HN: Watchmespendmoney by anderjaska on Wednesday July 08, 2020 @04:15PM (#23773779)
Ah if only I wasn't using vercel and serverless functions!
Re:Show HN: Watchmespendmoney by styfle on Wednesday July 08, 2020 @05:21PM (#23774382)
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...