Skip to content

Conversation

@LuizaVSantos
Copy link
Contributor

@LuizaVSantos LuizaVSantos commented Aug 28, 2025

Related issue:

Changes

Additional links

@LuizaVSantos LuizaVSantos requested a review from a team as a code owner August 28, 2025 15:31
@LuizaVSantos LuizaVSantos marked this pull request as draft August 28, 2025 15:31
@@ -0,0 +1,84 @@
---
title: How to manage KV Store with Edge Functions
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
title: How to manage KV Store with Edge Functions
title: How to manage KV Store with Functions

import LinkButton from 'azion-webkit/linkbutton'

See how to retrieve data from a with KV Store and Edge Functions.
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
See how to retrieve data from a with KV Store and Edge Functions.
See how to retrieve data from a with KV Store and Functions.

## Requirements

- [Azion Edge Functions enabled](/en/documentation/products/build/edge-application/edge-functions/).
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
- [Azion Edge Functions enabled](/en/documentation/products/build/edge-application/edge-functions/).
- [Azion Functions enabled](/en/documentation/products/build/edge-application/edge-functions/).
:
---

## Creating an edge function to communicate with KV Store
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
## Creating an edge function to communicate with KV Store
## Creating a function to communicate with KV Store
## Creating an edge function to communicate with KV Store

1. Access [Azion Console](https://console.azion.com).
2. On the upper-left corner, select **Edge Functions** in the **Edge Libraries** section.
Copy link
Contributor

Choose a reason for hiding this comment

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

Já trocou Edge Functions no console pra mudar aqui?


1. Access [Azion Console](https://console.azion.com).
2. On the upper-left corner, select **Edge Functions** in the **Edge Libraries** section.
3. Click the **+ Edge Function** button.
Copy link
Contributor

Choose a reason for hiding this comment

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

Comment acima

Comment on lines +78 to +80



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



<LinkButton link="/en/documentation/products/guides/build/instantiate-edge-functions/" label="go to How to instantiate edge functions in your application" severity="secondary" />
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
<LinkButton link="/en/documentation/products/guides/build/instantiate-edge-functions/" label="go to How to instantiate edge functions in your application" severity="secondary" />
<LinkButton link="/en/documentation/products/guides/build/instantiate-edge-functions/" label="go to How to instantiate Functions in your application" severity="secondary" />
<Tag severity="info" client:only="vue">
Preview
</Tag>

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

| Scope | Resource |
| ----- | -------- |
| Manage KV store with Edge Functions | [How to manage KV store with Edge Functions](/en/documentation/products/guides/kv-store/manage-with-functions/) |
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
| Manage KV store with Edge Functions | [How to manage KV store with Edge Functions](/en/documentation/products/guides/kv-store/manage-with-functions/) |
| Manage KV store with Functions | [How to manage KV store with Functions](/en/documentation/products/guides/kv-store/manage-with-functions/) |
| Scope | Resource |
| ----- | -------- |
| Manage KV store with Edge Functions | [How to manage KV store with Edge Functions](/en/documentation/products/guides/kv-store/manage-with-functions/) |
| xxx [How to xxxxx](xxxxxx/) |
Copy link
Contributor

Choose a reason for hiding this comment

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

Aqui vai alterar?

| xxx [How to xxxxx](xxxxxx/) |
---

## Business rules
Copy link
Contributor

Choose a reason for hiding this comment

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

Aqui abaixo fica blank?

- Use lowercase letters, numbers, dashes, and underscores.

---

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
---


## Interacting with KV Store via Edge Functions
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
## Interacting with KV Store via Edge Functions
## Interacting with KV Store via Functions

(Create, Read, Update, Delete)
The examples below illustrate common patterns.

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
- returns: string | object | ArrayBuffer | ReadableStream
- delete(namespace, key)
- returns: void

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
- Key size: up to 512 bytes (UTF‑8).
- Metadata size: up to 1024 bytes (JSON-serialized).
- Value size: up to 25 MB per item.

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
| Namespaces | 10 | 50 | 200 | 200 |
| Maximum file size | 200 MB | 500 MB | 2 GB | 2 GB |
| Maximum storage per account | 5 GB | 50 GB | 300 GB | 300 GB |

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
Previsualização
</Tag>


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

---

## Recursos de Implementação
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
## Recursos de Implementação
## Recursos de implementação

| Âmbito | Recurso |
| ----- | -------- |
| Gerenciar KV store com Edge Functions | [Como gerenciar KV store com Edge Functions](/pt-br/documentacao/produtos/guias/kv-store/gerenciar-com-funcoes/) |
Copy link
Contributor

Choose a reason for hiding this comment

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

O link vai usar "funcoes" ou functions?

Suggested change
| Gerenciar KV store com Edge Functions | [Como gerenciar KV store com Edge Functions](/pt-br/documentacao/produtos/guias/kv-store/gerenciar-com-funcoes/) |
| Gerenciar KV store com Functions | [Como gerenciar KV store com Functions](/pt-br/documentacao/produtos/guias/kv-store/gerenciar-com-funcoes/) |
| xxx [Como xxxxx](xxxxxx/) |
---

## Regras de Negócio
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
## Regras de Negócio
## Regras de negócio

## Regras de Negócio

## Resiliência de Dados
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
## Resiliência de Dados
## Resiliência de dados

## Resiliência de Dados

KV Store usa uma arquitetura distribuída com replicação entre pronomes de borda da Azion. Novas gravações são aceitas na borda e propagadas para réplicas para garantir durabilidade e alta disponibilidade. Leituras são servidas da réplica saudável mais próxima para minimizar a latência.
Copy link
Contributor

Choose a reason for hiding this comment

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

A tradução não tava ok com a versão EN

Suggested change
KV Store usa uma arquitetura distribuída com replicação entre pronomes de borda da Azion. Novas gravações são aceitas na borda e propagadas para réplicas para garantir durabilidade e alta disponibilidade. Leituras são servidas da réplica saudável mais próxima para minimizar a latência.
KV Store usa uma arquitetura distribuída com replicação entre os edge nodes da Azion. Novas gravações são aceitas no edge e propagadas para réplicas para garantir durabilidade e alta disponibilidade. Leituras são servidas da réplica saudável mais próxima para minimizar a latência.
## Resiliência de Dados

KV Store usa uma arquitetura distribuída com replicação entre pronomes de borda da Azion. Novas gravações são aceitas na borda e propagadas para réplicas para garantir durabilidade e alta disponibilidade. Leituras são servidas da réplica saudável mais próxima para minimizar a latência.

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

---

## Interação com KV Store via Edge Functions
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
## Interação com KV Store via Edge Functions
## Interação com KV Store via Functions
- returns: string | object | ArrayBuffer | ReadableStream
- delete(namespace, key)
- returns: void

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
- delete(namespace, key)
- returns: void


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
- Tamanho da chave: até 512 bytes (UTF-8).
- Tamanho dos metadados: até 1024 bytes (JSON-serializado).
- Tamanho do valor: até 25 MB por item.

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

Estes são os **limites padrão** para cada Plano de Serviço:

| Âmbito | Desenvolvedor | Negócios | Empresarial | Missão Crítica |
Copy link
Contributor

Choose a reason for hiding this comment

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

Os planos foram traduzidos...e normalmente se usa "âmbito" nesse contexto?

Suggested change
| Âmbito | Desenvolvedor | Negócios | Empresarial | Missão Crítica |
| Âmbito | Developer | Business | Enterprise | Mission Critical |  
-- | --
<br class="Apple-interchange-newline"> |
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

4 participants