Rate Limiting on Edge Functions #34707
Unanswered
Aging-Developer
asked this question in
Questions
Replies: 1 comment
|
I asked a similar question on Reddit here... https://www.reddit.com/r/Supabase/comments/1kqu9bf/prevent_dos_denial_of_wallet_on_edge_functions/ Would love to hear if there's a solution for this. Did you find one? |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
HI, I want to add rate limiting and basic DDos protection on my Edge functions. Originally I was going to do this in the function but then I realised that would be too late as the function was already invoked, which triggered a couple of questions:
Q1. Does the invoke count in supabase include just Successful invocations or all invocations? (will determine if can be done in code or not).
Q2. Use Cloudflare to "wrap" the Edge functions, in which case how? I didn't really want to go full cloudflare integration as that's for entire organisation, and I just want for a few functions in one project.
Q3. Any other solution that works well with Edge functions?
Would be grateful for any guidance.
All reactions