Blog••7 min read

Giving a disposable game server a memory: Dorage vs Amazon S3 vs PlayFab

Your match server lives for twenty minutes and then vanishes. Its scoreboard shouldn't. We compare three ways to give a throwaway container a long memory: a purpose-built API, the world's default object store, and Microsoft's full game backend.

The goldfish problem

Modern multiplayer hosting is built on disposable containers. Platforms such as Edgegap spin up a Docker image close to the players, run the match, and tear it down. That makes it cheap and fast, and it means nothing written to local disk survives.

For many indie games that is fine until someone asks for a match history, a persistent lobby, or a resume after a crash. Then the server needs somewhere outside itself to put a few kilobytes of JSON, and get them back later.

Three very different answers come up again and again: Dorage, a small UK-built storage API aimed squarely at this problem; Amazon S3, the general-purpose object store most of the internet already uses; and PlayFab, Microsoft's all-in-one game backend.

Disclosure: the author built Dorage. Where it falls short, this article says so.

Three philosophies

The three services don't just differ on price. Each one starts from a different idea of who is calling and what they're storing.

Dorage assumes the authoritative game server is the only writer, and that the thing being stored is a game-state document. You PUT JSON to a path like /matches/m-0042/end, GET it back, and roll back to an earlier version if you need to. Nothing else is involved.

S3 assumes nothing at all. It's a bucket of bytes with keys. That makes it enormously flexible, and it leaves you to design the key scheme, the access model and the retention rules.

PlayFab assumes it owns your players. Storage hangs off entities (a player, a character, a group, the title itself). Small JSON goes in Entity Objects and larger blobs go in Entity Files. It's powerful if you want the whole live-ops stack, and heavy if you only wanted somewhere to put a save.

DorageAmazon S3PlayFab
Built forGame-state JSON from a serverAny bytes, any workloadWhole game backend
Data modelJSON at paths you chooseBucket + key + objectObjects and files attached to entities
Auth from a containerOne bearer keyIAM keys (SigV4) or presigned URLsTitle secret key; per-player data needs PlayFab logins
Write pathOne PUTOne PUT (multipart for large)One call for objects; three steps for files
Version historyBuilt in, with revertOptional per bucketNot built in
Max item size256 KB to 15 MB by planUp to 5 TBSmall objects; files limited per entity on lower tiers
PricingFlat, from £0 to £8/monthMeteredFree to 1,000 players, then metered or $99/month
Lock-inLowLow (S3 API widely cloned)High

A key for a container that lives twenty minutes

The hardest architectural question isn't storage at all. It's how a short-lived container proves who it is.

With Dorage, the answer is deliberately boring. The server holds one secret bearer key, injected as an Edgegap environment variable, and players never see it. There's no SDK to bundle and no signing step, so any language that can make an HTTPS request works.

With S3 there are two respectable routes, and both cost something. You can put a long-lived IAM access key into every container and sign requests with SigV4, which in practice means shipping the AWS SDK and scoping the key tightly with a bucket policy. Or you can run a separate backend that hands out short-lived presigned URLs. That's safer, but now you have another service to host.

PlayFab's Server API accepts a title secret key from anywhere, so the container side is straightforward. The catch is upstream. If you want data stored per player, your players need PlayFab accounts, typically via a Steam login. You're adopting an identity system, not just a storage API.

When two writers collide

Game servers crash, get retried, and occasionally overlap with their own replacements. So it matters what happens when a save is written twice.

S3 is the most rigorous of the three. Reads see the latest write straight away, and since 2024 it has supported conditional writes: send If-None-Match: * to create only if nothing exists, or If-Match with an ETag to update only if nobody else got there first. Versioning is a per-bucket switch that keeps every old copy. You then need lifecycle rules or the history keeps growing, and keeps being billed, forever.

PlayFab's Entity Objects support optimistic concurrency through an expected profile version. Mismatched writes are rejected. There's no built-in history to roll back to.

Dorage takes the opposite approach to S3 on history. It makes history part of the product: each path keeps a fixed number of previous versions (one to ten, depending on plan), and a single POST reverts to any of them. That's exactly what you want after a bad patch corrupts a week of saves. Its weak spot is that the write-conflict rules aren't documented yet. Right now, a developer has to assume last write wins.

Durability, distance and the single box

S3 is built to an eleven-nines durability target across multiple data centres in a region. PlayFab sits on Microsoft's managed infrastructure. Neither leaves you holding a recovery plan.

Dorage is honest about being smaller. It runs on a dedicated server in Finland with nightly off-site backups to a second data centre in Germany. In the worst case, a hardware failure could lose up to a day's writes and take time to restore. For match start and end states that's usually an acceptable trade. For anything you can't afford to replay, it isn't.

Distance matters too. Edgegap places containers near the players, anywhere in the world, but a storage endpoint lives in one place. A match hosted in Sydney talking to Helsinki will see a few hundred milliseconds per call. That's irrelevant for a save at the start and end of a match, and a problem for anything in the gameplay loop. A single-region S3 bucket has the same issue unless you pay for replication. The rule is the same everywhere: write state at the edges of a match, not during it.

Follow the money

On raw cost, S3 wins, and by a lot. In the London region, standard storage runs at about $0.024 per GB-month, writes at roughly $0.005 per thousand and reads at $0.0004 per thousand. A small game storing 2 GB with 100,000 writes and 100,000 reads a month would pay well under $1. Egress is free for the first 100 GB a month across your AWS account, then about $0.09 per GB.

Dorage's Indie plan costs £3 a month for the same 2 GB. What you buy for the difference is predictability and a smaller setup: no AWS account, no IAM policies, no billing alarms, and no chance of a runaway loop producing a surprise invoice. For a solo developer, that's often worth more than the couple of pounds' difference. For a studio with an ops person, it may not be.

PlayFab changed its sums this year. In March 2026 Microsoft introduced Foundation Mode, and the free development tier dropped from 100,000 players per title to 1,000. Past that, titles move to pay-as-you-go or the $99-a-month Standard plan. That still includes a great deal beyond storage, but it's no longer the obvious free default it used to be for small studios.

Plan (Dorage)PriceStorageMax per saveVersions kept
Free£0100 MB256 KB1
Starter£12/year500 MB1 MB3
Indie£3/month or £30/year2 GB4 MB5
Studio£8/month or £80/year10 GB15 MB10

The verdict

There's no single winner. Each one suits a different kind of developer.

Choose Dorage if you're a small or solo developer on ephemeral hosting, storing match or session state as JSON, and you want it working in ten minutes with a flat bill. Built-in version history and revert are a genuine bonus.

Choose S3 (or an S3-compatible store such as Cloudflare R2 or Hetzner Object Storage) if your saves are large, if durability is non-negotiable, or if you already live on AWS. A persistent world with 250 MB saves belongs here, not in a JSON API.

Choose PlayFab if you want accounts, economy, leaderboards and live-ops along with storage, and you're comfortable tying your game to Microsoft's platform. Using it for storage alone is overkill.

The container will always forget. The real decision is how much infrastructure you want to own so that your game remembers.

Sources

← All postsTry Dorage free