force Colo execution

Trying to help someone for an uptime SaaS. https://news.ycombinator.com/item?id=38066874 How can I force an cloudflare worker to execute within multiple Colo's?
tibozaurus
Founder of OpenStatus here: We can't use Cloudflare because there's no way to execute in a specific region, if you know how to do it let me know
Hacker News
8 Replies
kian
kian14mo ago
There is nothing that Cloudflare offers that would let you do that - you would have to just request the Worker from different regions. At which point, you already have the ability to make requests from those regions anyways.
zegevlier
zegevlier14mo ago
I bet you could make something work with DOs with region hints, but it's not going to be per-colo precise.
NicoJuicy
NicoJuicyOP14mo ago
Solved it after more searching. Thanks for the faster than light feedback.
omar4289
omar428914mo ago
Very curious how you solved it, if you can share with us
NicoJuicy
NicoJuicyOP14mo ago
Cloudflare Community
How to force region in Cloudflare Workers
No, it still worked. Cloudflare are aware of this for several years and haven’t done anything to prevent it so I don’t think its something they want to stop. It’s possible by nature of their architecture, and could easily be stopped but they haven’t so I think its allowed, though I’m not sure. It’s not something we use in production but I have ...
Hello, I’m Allie!
I would note too that while this may work now, I wouldn't recommend building a solution that needs to work on top of this, as it might break at any time
omar4289
omar428914mo ago
Ok, thanks.
NicoJuicy
NicoJuicyOP14mo ago
Well, I've seen how cloudflare works. And it's still a solution to a problem. While this may work now, when it disappears, I would believe there would be a solution to a similar problem, but in a more "Cloudflare" supported approach, eg. By running them in different regions with DC with overcapacity. Instead of forcing the Colo. I think upping the price per mill. Requests when forcing a region is even understandable. Since it doesn't really makes use of cloudflare s underlying/optimized sdn. Just a thought
Want results from more Discord servers?
Add your server