rcoopr
rcoopr
CDCloudflare Developers
Created by Viacheslav on 7/16/2024 in #workers-help
What simplest way to pass reference to supabase into Worker script
I think you need to bundle the supabase lib into your worker yourself
9 replies
CDCloudflare Developers
Created by Viacheslav on 7/16/2024 in #workers-help
What simplest way to pass reference to supabase into Worker script
well you can't serialise supabase so you can't send a 'reference' like that. you should create a new supabase client in your worker
9 replies
CDCloudflare Developers
Created by rcoopr on 7/16/2024 in #queues
In memory cache strategy
Working great. thanks for the help @hannes
11 replies
CDCloudflare Developers
Created by rcoopr on 7/16/2024 in #queues
In memory cache strategy
that might only be for WAF actually
11 replies
CDCloudflare Developers
Created by rcoopr on 7/16/2024 in #queues
In memory cache strategy
https://developers.cloudflare.com/waf/rate-limiting-rules/#availability I think the features required are only available on highger tier plans unfortunately, and I think the minimum timeout is 10s? Not entirely sure what counting period is
11 replies
CDCloudflare Developers
Created by rcoopr on 7/16/2024 in #queues
In memory cache strategy
That’s a great idea. I would need something like 1req/3sec but the core idea sounds perfect. Will explore next week
11 replies
CDCloudflare Developers
Created by rcoopr on 7/16/2024 in #queues
In memory cache strategy
Thanks for the idea though. Think it’s just a use case that doesn’t fit serverless that well without plenty of hoops to jump through
11 replies
CDCloudflare Developers
Created by rcoopr on 7/16/2024 in #queues
In memory cache strategy
yeah I have no idea how the infra works tbh. it is multiple clients sending an API request that is synchronized, but ofc latency per client is different
11 replies
CDCloudflare Developers
Created by rcoopr on 7/15/2024 in #workers-help
Caching example
ah right, I've come into workers as an alternative to aws lambda so wasn't thinking of it in front of a regular kinda route
3 replies