Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Durable Objects] call out currently unsupported locations for hints #18472

Merged
merged 2 commits into from
Dec 2, 2024

Conversation

Le0Developer
Copy link
Contributor

Summary

Closes #18471

This pull request includes updates to the src/content/docs/durable-objects/reference/data-location.mdx file to clarify the supported locations for Durable Objects and provide additional information about certain regions.

Updates to supported locations:

  • Clarified that Durable Objects currently do not spawn in certain locations (South America, Africa, Middle East) by adding a footnote explaining that they will spawn in a nearby supported location instead.
  • Added <sup>2</sup> notation to the South America, Africa, and Middle East entries in the supported locations table to reference the new footnote.

Documentation checklist

  • The documentation style guide has been adhered to.
  • If a larger change - such as adding a new page- an issue has been opened in relation to any incorrect or out of date information that this PR fixes.
  • Files which have changed name or location have been allocated redirects.

@github-actions github-actions bot added the product:durable-objects Durable Objects: https://developers.cloudflare.com/workers/learning/using-durable-objects/ label Nov 28, 2024
Comment on lines +96 to +99
<sup>2</sup> Durable Objects currently do not spawn in this location. Instead,
the Durable Object will spawn in a nearby location which does support Durable
Objects. For example, Durable Objects hinted to South America spawn in Eastern
North America instead.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<sup>2</sup> Durable Objects currently do not spawn in this location. Instead,
the Durable Object will spawn in a nearby location which does support Durable
Objects. For example, Durable Objects hinted to South America spawn in Eastern
North America instead.
<sup>2</sup> Durable Objects currently do not spawn in this location. Instead, the Durable Object will spawn in a nearby location which supports Durable Objects. For example, Durable Objects hinted to South America spawn in Eastern North America instead.

Is that example guaranteed to always happen?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Currently, yes. See https://where.durableobjects.live/region/sam
Anything else wouldn't make sense because of DO is supposed to have minimal latency ("instantiated in a data center selected to minimize latency from the hinted location")

@Oxyjun Oxyjun merged commit 5a61168 into cloudflare:production Dec 2, 2024
6 checks passed
@workers-devprod workers-devprod added the contribution [Holopin] Recognizes a docs contribution, big or small label Dec 2, 2024
Copy link

holopin-bot bot commented Dec 2, 2024

Congratulations @Le0Developer, the maintainer of this repository has issued you a holobyte! Here it is: https://holopin.io/holobyte/cm475muvl14480cku0vfw6ph0

This badge can only be claimed by you, so make sure that your GitHub account is linked to your Holopin account. You can manage those preferences here: https://holopin.io/account.
Or if you're new to Holopin, you can simply sign up with GitHub, which will do the trick!

@Le0Developer Le0Developer deleted the feat/do-regions branch December 2, 2024 14:58
harshil1712 pushed a commit that referenced this pull request Dec 3, 2024
…18472)

* [Durable Objects] call out currently unsupported locations for hints

* fix formatting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contribution [Holopin] Recognizes a docs contribution, big or small product:durable-objects Durable Objects: https://developers.cloudflare.com/workers/learning/using-durable-objects/ size/s
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Durable Objects] call out which regions are actually supported
6 participants