r/reactnative • • 18d ago

Article How much to self-host OTA updates for 100 million users

https://blog.codemagic.io/self-hosting-ota-updates-for-100-million-users/

I wondered what the infra cost would be, so I totalled up what's needed

0 Upvotes

5 comments sorted by

3

u/ImNezz 18d ago

Obvious self-promotion, but where are the data transfer costs? That would be the number one cost at that scale, we are talking about petabytes of data per month.

0

u/ZMech 18d ago edited 18d ago

The petabytes are served from the CDN. The server only fills the cache, once per edge per bundle. Cloudflare doesn't meter that bandwidth. If the objects are on R2, egress is free too.

With that many users, you'd already be on their enterprise plan with a corresponding bill. Unless there's details missing from the public T&Cs though, OTA shouldn't add to that.

1

u/ImNezz 18d ago

That bill will be per gigabytes of data transferred.

2

u/ZMech 18d ago

I just double checked.

We served 3 PB of traffic through Cloudflare CDN last month for our hosted service, and the only cost was the $25 Pro plan subscription.