News for hackers. Stuff that matters.
Re:Supabase-JS v2 by jackconsidine on Tuesday August 16, 2022 @02:14PM (#32486597)
That is the exact solution we went with :)
Re:Supabase-JS v2 by latchkey on Tuesday August 16, 2022 @02:20PM (#32486668)
So then why mention that FB is gated? It isn't gated, the design of your application was off.
Re:Supabase-JS v2 by jackconsidine on Tuesday August 16, 2022 @02:31PM (#32486811)
This is obviously a (hacky) work-around. Firebase Functions are designed to be deployed individually- abandoning that costs you GCP log traces and boilerplate right off the bat. Read the Firebase Functions documentation, and you'll see no mention of designing your application this way.
Re:Supabase-JS v2 by latchkey on Tuesday August 16, 2022 @02:40PM (#32486930)
I always assumed it wasn't documented as such because it is a bit more complicated to set up / describe and they were trying to keep the docs simple.

Once you get past a certain amount of endpoints, I'd always want to declare my endpoints in code rather than be tied to their config.

Never had an issue with the logs. Requests still show up.

Re:Supabase-JS v2 by ibero on Tuesday August 16, 2022 @02:24PM (#32486729)
it is gated. 60 endpoints in a minute. thanks to OP i now know this.
Re:Supabase-JS v2 by latchkey on Tuesday August 16, 2022 @02:35PM (#32486872)
Sure, maybe I'm reacting more to calling it a nightmare. This is a well documented limit.

First thing I always do is read the quotas/limits on any google cloud product before I use it.

Then, I'd notice the increase in deployment times on my CI server as more functions were being added and inspect what was taking so long and try to optimize it. Those individual endpoints take a while to deploy...