• Home
  • Insight
  • Blog
  • Business
  • Entertainment
  • Health
  • Politics
  • Shop
    • Gift Shop
    • Value Shop
    • Store
    • Bargain Shop
    • Discount
  • Sports
  • Tech
  • Travel
  • USA
  • Video
  • World
    • Asia
    • Africa
    • South America
    • North America
    • Europe
    • Oceania
Tuesday, August 25, 2026
No Result
View All Result
Subscribe Now
  • Home
  • Insight
  • Blog
  • Business
  • Entertainment
  • Health
  • Politics
  • Shop
    • Gift Shop
    • Value Shop
    • Store
    • Bargain Shop
    • Discount
  • Sports
  • Tech
  • Travel
  • USA

    Immigrant Grocery Store Owners Sue NY Mayor Mamdani over Socialist Grocery Scheme

    Homeless agency has posh digs while ‘clients’ live in squalor

    3 rescued belugas make 2,500-mile journey to SeaWorld San Diego

    Thousands in northwest Indiana still without power nearly two weeks after storm : NPR

    Caitlin Clark, Aliyah Boston and Kelsey Mitchell combine for big nights as Fever fall short against Liberty

    Harry and Meghan See Their California Dreams, and Riches, Fade Away

    What American Doctors Saw in Gaza

    What American Doctors Saw in Gaza

    Trump appears on former fixer Michael Cohen’s radio show

    Trump appears on former fixer Michael Cohen’s radio show

    “The End of Oak Street” does pastiche right

    “The End of Oak Street” does pastiche right

  • Video
  • World
    • Asia
    • Africa
    • South America
    • North America
    • Europe
    • Oceania
The Insight Post
  • Home
  • Insight
  • Blog
  • Business
  • Entertainment
  • Health
  • Politics
  • Shop
    • Gift Shop
    • Value Shop
    • Store
    • Bargain Shop
    • Discount
  • Sports
  • Tech
  • Travel
  • USA

    Immigrant Grocery Store Owners Sue NY Mayor Mamdani over Socialist Grocery Scheme

    Homeless agency has posh digs while ‘clients’ live in squalor

    3 rescued belugas make 2,500-mile journey to SeaWorld San Diego

    Thousands in northwest Indiana still without power nearly two weeks after storm : NPR

    Caitlin Clark, Aliyah Boston and Kelsey Mitchell combine for big nights as Fever fall short against Liberty

    Harry and Meghan See Their California Dreams, and Riches, Fade Away

    What American Doctors Saw in Gaza

    What American Doctors Saw in Gaza

    Trump appears on former fixer Michael Cohen’s radio show

    Trump appears on former fixer Michael Cohen’s radio show

    “The End of Oak Street” does pastiche right

    “The End of Oak Street” does pastiche right

  • Video
  • World
    • Asia
    • Africa
    • South America
    • North America
    • Europe
    • Oceania
No Result
View All Result
No Result
View All Result
Home Mobile

Designing scalable OTA update architecture for React Native

by Theinsightpost
August 25, 2026
in Mobile
0 0
0

Aug 20, 2026 – 5 min read


This article is written by Zach Goldie

Self-hosting OTA updates became common after App Center and CodePush shut down in 2025. CodePush had been the popular free option, but the remaining hosted services easily hitting five or six figure bills for popular apps.

For staging-only or use with small user bases, self-hosting is fairly straight forwards. But, as the user base grows, the architecture can start to struggle and bolt on pieces are required.

This is why we redesigned the approach for Codemagic Patch to run smoothly, even with millions of end users.

The bottleneck in most OTA servers

At Codemagic we ran a hosted CodePush service that served billions of updates. That high volume meant a huge number of update checks. This is because in the usual setup:

  • Each device checks for updates regularly, often around app launch or restart.
  • Each check is a request to your server API.
  • That request involves application logic and a few database queries.
  • Only some checks lead to a download, while most answers are “you’re up to date”.

If you have thousands of users, this server load is fine. With millions of users, it looks like a call center with one phone and thousands of callers.

Typical OTA architecture: update checks hit the API and database on every poll
Typical OTA architecture: update checks hit the API and database on every poll

All of those callers require an answer from the server, even when the answer is “you’re up to date”.

The typical route to compensate

You can compensate for that load with extra infrastructure:

  • Autoscaling and load balancing for more throughput
  • Response caching with Redis so fewer checks hit the database
  • Careful cache invalidation so releases still show up correctly

Those tactics do work, and plenty of companies have setups of this type to serve large user bases. But, they add complexity and ways for the service to go wrong.

Response caching helps, but it’s not fixing the fundamental problem. You are still running a call center, just one that’s more efficient.

From call center to bulletin board

We realised we could overhaul this approach when thinking about the shape of the requests and responses.

Every device is only asking a small question with minimal variations:

I’m on this deployment and version, so what is the latest compatible bundle?

For any given deployment and binary version, the answer for “what is the latest relevant release?” is fixed until you publish again or increase a rollout. Database queries are overkill for this type of request with limited questions and answers.

A pre-generated document is a much better fit. So instead of answering every poll in the API, you can:

  1. Generate a small JSON manifest when you publish.
  2. Scope that manifest to the relevant deployment and binary version.
  3. Store it on object storage.
  4. Serve it through a CDN.

That way, instead of calling the API, the app fetches a static file from the CDN at a URL such as https://patch.example.com/{deployment_key}/{binary_version}/manifest.json to see which bundle it should run.

With this change, the model is closer to checking a bulletin board than phoning a call center. The answer is already posted, so each device just reads it. That allows update checks to comfortably scale to many millions of devices.

While other OTA update tools serve the download bundle via the CDN, shifting these regular checks is what makes Codemagic Patch a fully CDN-first architecture.

CDN-first OTA architecture: clients fetch pre-generated manifests from object storage and the CDN
CDN-first OTA architecture: clients fetch pre-generated manifests from object storage and the CDN

Load test comparison

To test the difference, we compared Patch with Hot Updater, another popular self-hosted OTA tool. We used their documented setup for Cloudflare, alongside Patch hosted on a 2GB VM, then ramped up the request rate.

As the traffic increased, Hot Updater started to struggle under the update-check load. Patch continued to handle around 1,000 requests per second in that test, because the request was serving pre-generated manifests rather than answering live API and SQL work for every check.

This isn’t to say Hot Updater can’t work for high volumes. They document an AWS setup with response caching, similar to we described earlier. But Patch has an architecture that can handle those volumes with just a basic setup.

Simulated crash test

A secondary benefit of CDN-first delivery is failure isolation.

When both the manifests and bundles live on object storage behind a CDN, the server going down doesn’t stop the checks and downloads from working.

We performed a crash-style test where we took the server offline, showing that checks and downloads continued to work from the already published artifacts.

You still need the machine running to publish releases, collect metrics and operate the dashboard. But, you don’t need it to answer every device request.

Try the local evaluation stack

Codemagic Patch is our take on that bulletin board model that doesn’t require complexity to self-host at scale.

The fastest way to play with Patch is by running the local evaluation stack as described in the quickstart doc. With Docker Compose v2 and Node.js 22+, you can bring up the real server, worker, Postgres, MinIO, and dashboard on your machine without public domains or a GitHub OAuth app:

git clone https://github.com/codemagic-ci-cd/codemagic-patch.git
cd codemagic-patch
./scripts/local-eval/up.sh

That uses docker-compose.dev.yml under the hood and seeds enough team and app data to publish a test release locally. When you are done, tear it down with:

docker compose -f docker-compose.dev.yml down -v

From there, the docs have the full guide for production self-hosting if you want to take the same architecture beyond localhost. For the full details, visit the site:

patch.codemagic.io

ShareTweetSend
Previous Post

Dolly Parton dead at 80

Related News

Mobile

Google tests useful UI change on the YouTube for Android app

August 24, 2026
Mobile

AT&T reveals its iPhone 16 deals — get up to $1,000 off with an eligible trade-in

August 23, 2026
Mobile

Sick of Constant Pings, They’re Sending Texts at the Speed of Carrier Pigeon

August 23, 2026
Mobile

Preparing your app for broader memory limits

August 22, 2026

Discussion about this post

Subscribe To Our Newsletters

    Customer Support


    1251 Wilcrest Drive
    Houston, Texas
    77042 USA
    Call-832.795.1420
    e-mail – news@theinsightpost.com

    Subscribe To Our Newsletters

      Categories

      • Africa
      • Africa-East
      • African Sports
      • American Sports
      • Arts
      • Asia
      • Australia
      • Business
      • Business Asia
      • Business- Africa
      • Canada
      • Defense
      • Education
      • Egypt
      • Energy
      • Entertainment
      • Europe
      • European Soccer
      • Finance
      • Germany
      • Ghana
      • Health
      • Insight
      • International
      • Investing
      • Japan
      • Latest Headlines
      • Life & Living
      • Markets
      • Mobile
      • Movies
      • New Zealand
      • Nigeria
      • Politics
      • Scholarships
      • Science
      • South Africa
      • South America
      • Sports
      • Tech
      • Travel
      • UK
      • USA
      • Weather
      • World
      No Result
      View All Result

      Recent News

      Designing scalable OTA update architecture for React Native

      August 25, 2026

      Dolly Parton dead at 80

      August 25, 2026

      Hayden Panettiere’s Rep Slams Rumors About Her Death

      August 25, 2026

      10 Significant Health Tips For Drivers

      August 25, 2026
      • Home
      • Advertise With Us
      • About Us
      • Corporate
      • Consumer Rewards
      • Forum
      • Privacy Policy
      • Social Trends

      Theinsightpost ©2026 | All Rights Reserved. Theinsightpost is an Elnegy LLC company, registered in Texas, USA

      Welcome Back!

      Login to your account below

      Forgotten Password?

      Retrieve your password

      Please enter your username or email address to reset your password.

      Log In

      Add New Playlist

      We are using cookies to give you the best experience on our website.

      You can find out more about which cookies we are using or switch them off in .

      No Result
      View All Result
      • Home
      • Insight
      • Blog
      • Business
      • Entertainment
      • Health
      • Politics
      • Shop
        • Gift Shop
        • Value Shop
        • Store
        • Bargain Shop
        • Discount
      • Sports
      • Tech
      • Travel
      • USA
      • Video
      • World
        • Asia
        • Africa
        • South America
        • North America
        • Europe
        • Oceania

      Theinsightpost ©2026 | All Rights Reserved. Theinsightpost is an Elnegy LLC company, registered in Texas, USA

      The Insight Post
      Powered by  GDPR Cookie Compliance
      Privacy Overview

      This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

      Strictly Necessary Cookies

      Strictly Necessary Cookie should be enabled at all times so that we can save your preferences for cookie settings.

      Cookie Policy

      More information about our Cookie Policy