Is it possible to restrict the

Is it possible to restrict the geolocations that a worker can be placed in?
4 Replies
neil
neilOP5mo ago
I am running into an issue where users from some geos (india, vietnam etc) are being routed through Hong Kong data centers and thus being blocked in the subrequests (who also use cloudflare- which means I dont have a way to obscure the request location).
Chaika
Chaika5mo ago
Not without Enterprise DLS. You could leverage Durable Objects to do the fetch, hinted to specific regions (avoid APAC), but latency and cost would be potential concerns
neil
neilOP5mo ago
Hm best bet is probably to have a separate proxy then I guess. What a shame
Chaika
Chaika5mo ago
Workers have Smart Placement but it won't work for this case because there is always some % of requests used as a baseline which aren't placed smartly, and also it's purely off latency and not errors afaik, so might end up getting more errors due to fast blocking responses. In case you run across that

Did you find this page helpful?