-
Notifications
You must be signed in to change notification settings - Fork 10.4k
[Workers KV] FAQ page #19103
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
Merged
Merged
[Workers KV] FAQ page #19103
Changes from 7 commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
8da1325
Setting up one large FAQ page.
Oxyjun f407b05
Directing to FAQ from pricing page.
Oxyjun 9ec173d
Making the link more specific.
Oxyjun 58851f6
Moving up all the headers by 1.
Oxyjun 71ae74b
Adding back pricing FAQ directly under the pricing table.
Oxyjun 96f3250
Adding FAQ directly under pricing table.
Oxyjun f444f82
Clarification improvements
Oxyjun a11644c
Implementing TG feedback
Oxyjun File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,43 @@ | ||
| --- | ||
| title: FAQ | ||
| pcx_content_type: faq | ||
| sidebar: | ||
| order: 8 | ||
|
|
||
| --- | ||
|
|
||
| import { Glossary } from "~/components" | ||
|
|
||
| Frequently asked questions regarding Workers KV. | ||
|
|
||
| ## General | ||
|
|
||
| ### Can I use Workers KV without using Workers? | ||
|
|
||
| Yes, you can use Workers KV outside of Workers by using the [REST API](/api/resources/kv/) or the associated Cloudflare SDKs for the REST API. It is important to note the [limits of the REST API](/fundamentals/api/reference/limits/) that apply. | ||
|
|
||
| ### Why can I not immediately see the updated value of a key-value pair? | ||
|
|
||
| Workers KV heavily caches data across the Cloudflare network. Therefore, it is possible that you read a cached value for up to the cache TTL duration. | ||
|
|
||
| ### Is Workers KV eventually consistent or strongly consistent? | ||
|
|
||
| Workers KV is eventually consistent. | ||
|
|
||
| Workers KV stores data in central stores and replicates the data to all Cloudflare locations through a hybrid push/pull replication approach. This means that the previous value of the key-value pair may be seen in a location for as long as the cache TTL. This means that Workers KV is eventually consistent. | ||
Oxyjun marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| Refer to [How KV works](/kv/concepts/how-kv-works/). | ||
|
|
||
| ## Pricing | ||
|
|
||
| ### When writing via Workers KV's [REST API](/api/resources/kv/subresources/namespaces/methods/bulk_update/), how are writes charged? | ||
|
|
||
| Each key-value pair in the `PUT` request is counted as a single write, identical to how each call to `PUT` in the Workers API counts as a write. Writing 5,000 keys via the REST API incurs the same write costs as making 5,000 `PUT` calls in a Worker. | ||
|
|
||
| ### Do queries I issue from the dashboard or wrangler (the CLI) count as billable usage? | ||
|
|
||
| Yes, any operations via the Cloudflare dashboard or wrangler, including updating (writing) keys, deleting keys, and listing the keys in a namespace count as billable Workers KV usage. | ||
|
|
||
| ### Does Workers KV charge for data transfer / egress? | ||
|
|
||
| No. | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.