Skip to content

Latest commit

 

History

History
12 lines (5 loc) · 584 Bytes

_edge_functions.md

File metadata and controls

12 lines (5 loc) · 584 Bytes

Edge Functions

Basically the same as AWS Lambda, but much better integrated in the whole system. Check Supabase Documentation.

Code is located in: ./supabase/functions/*.

Each function can run a very short time (up to 2s) then it's terminated. So it's good to write small scripts with pagination. Database can give you great tooling for that.

Unexpected errors are handled by Sentry. That works good. What should be tweaked is notification about terminated function. It can be done probably by event pushing to Sentry as well.