FastEdge provides distributed edge KV storage that lets you read and write data from any edge location worldwide. Unlike traditional centralized databases, edge KV stores data close to users — reads are served from the nearest PoP, making them extremely fast regardless of where the data was written.
This post covers Upload Files to S3 from the Edge — a foundational pattern for stateful edge applications.
How It Works
Upload files directly to S3-compatible storage from your edge worker — no middleman server needed.
Edge KV storage is eventually consistent. Writes are propagated asynchronously across the global edge network. This means a write in London might take a few hundred milliseconds to be readable in Sydney — but local reads from the same PoP are immediate.
Implementation
Here is a complete example of reading and writing to edge KV storage in Rust:
Use Cases
- Feature flags — enable or disable features globally without redeploying your worker.
- Session state — persist data across requests without a central database.
- Rate limiting — aggregate request counters across the edge network.
- Configuration — store per-tenant settings that update without code changes.
- Cache — store computed results close to users for sub-millisecond retrieval.
Consistency Model
Edge KV is eventually consistent with read-your-writes semantics at the local PoP. If you write a value, subsequent reads from the same edge location will see the update immediately. Reads from other locations may briefly see the old value until the write propagates, typically within 100–500 ms.
Tip: For strongly consistent writes, write through to your origin database and use edge KV as a read cache. This gives you the best of both worlds: strong consistency at write time and edge-speed reads.
Related articles
Subscribe to our newsletter
Get the latest industry trends, exclusive insights, and Gcore updates delivered straight to your inbox.










