←back to thread

285 points ajhit406 | 2 comments | | HN request time: 0.405s | source
Show context
simonw ◴[] No.41832812[source]
One thing I don't understand about Durable Objects yet is where they are physically located.

Are they located in the region that hosted the API call that caused them to be created in the first place?

If so, is there a mechanism by which a DO can be automatically migrated to another location if it turns out that e.g. they were created in North America but actually all of the subsequent read/write traffic to them comes from Australia?

replies(5): >>41832834 #>>41832862 #>>41832906 #>>41832933 #>>41833115 #
1. mhart ◴[] No.41832906[source]
By default in the region you created them in, but you can alternatively specify a locationHint. Use "oc" for Australia. https://developers.cloudflare.com/durable-objects/reference/...

Note the "Dynamic relocation of existing Durable Objects is planned for the future"

replies(1): >>41833048 #
2. simonw ◴[] No.41833048[source]
Thanks, added that to my post.