Middle-layer options?

Hi all!
I am working on an application that requires processing some data with javascript. Doing that right in the browser would be the fastest but would also expose the business logic on the front-end, which is not ideal. I tried using edge functions but unfortunately I am hitting the compute limit (and it's not a matter of optimizing my code).

The answer to this is probably obvious to more seasoned devs but what are my options here? From what I understand Supabase doesn't offer anything else I can use here (can't run JS on the backend other than for db operations, right?). How can I then handle this in a way that plays nice with Supabase?

Thanks!
Was this page helpful?