• 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, November 17, 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
    Stranded in Conflict: Palestinians Navigate the Tenuous Balance of War and Peace Amid Ceasefire Efforts

    Stranded in Conflict: Palestinians Navigate the Tenuous Balance of War and Peace Amid Ceasefire Efforts

    Trump Administration Revokes Pay Increase for Head Start Educators

    Trump Administration Revokes Pay Increase for Head Start Educators

    Unexpected Triumph: Gay Candidates Achieve Unforeseen Victories in Challenging Races

    Unexpected Triumph: Gay Candidates Achieve Unforeseen Victories in Challenging Races

    Microsoft Outlook Experiences Prolonged Outage Affecting Users Nationwide

    Microsoft Outlook Experiences Prolonged Outage Affecting Users Nationwide

    Gunfire Erupts in D.C.: Authorities Search for Suspect Amid Rising Concerns Over Public Safety

    Gunfire Erupts in D.C.: Authorities Search for Suspect Amid Rising Concerns Over Public Safety

    LAUSD Takes Strong Action Against Hate Speech Following Racial Slur Incidents

    LAUSD Takes Strong Action Against Hate Speech Following Racial Slur Incidents

    Beloved Former Los Angeles Times Columnist Steve Harvey Passes Away at 80

    Beloved Former Los Angeles Times Columnist Steve Harvey Passes Away at 80

    Exploring Diversity: ‘Ten Lives’ Showcases the Varied Economic Journeys of Americans

    Exploring Diversity: ‘Ten Lives’ Showcases the Varied Economic Journeys of Americans

    Philadelphia Eagles Facing Turmoil as Coach Nick Sirianni Addresses Controversy Over Gesture to Fans

    Philadelphia Eagles Facing Turmoil as Coach Nick Sirianni Addresses Controversy Over Gesture to Fans

  • 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
    Stranded in Conflict: Palestinians Navigate the Tenuous Balance of War and Peace Amid Ceasefire Efforts

    Stranded in Conflict: Palestinians Navigate the Tenuous Balance of War and Peace Amid Ceasefire Efforts

    Trump Administration Revokes Pay Increase for Head Start Educators

    Trump Administration Revokes Pay Increase for Head Start Educators

    Unexpected Triumph: Gay Candidates Achieve Unforeseen Victories in Challenging Races

    Unexpected Triumph: Gay Candidates Achieve Unforeseen Victories in Challenging Races

    Microsoft Outlook Experiences Prolonged Outage Affecting Users Nationwide

    Microsoft Outlook Experiences Prolonged Outage Affecting Users Nationwide

    Gunfire Erupts in D.C.: Authorities Search for Suspect Amid Rising Concerns Over Public Safety

    Gunfire Erupts in D.C.: Authorities Search for Suspect Amid Rising Concerns Over Public Safety

    LAUSD Takes Strong Action Against Hate Speech Following Racial Slur Incidents

    LAUSD Takes Strong Action Against Hate Speech Following Racial Slur Incidents

    Beloved Former Los Angeles Times Columnist Steve Harvey Passes Away at 80

    Beloved Former Los Angeles Times Columnist Steve Harvey Passes Away at 80

    Exploring Diversity: ‘Ten Lives’ Showcases the Varied Economic Journeys of Americans

    Exploring Diversity: ‘Ten Lives’ Showcases the Varied Economic Journeys of Americans

    Philadelphia Eagles Facing Turmoil as Coach Nick Sirianni Addresses Controversy Over Gesture to Fans

    Philadelphia Eagles Facing Turmoil as Coach Nick Sirianni Addresses Controversy Over Gesture to Fans

  • 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

Next Post

Ukraine launches huge drone attack on Moscow hours after CIA director visits | World | News

Related News

Unlocking Potential: Exploring the FDE Model in Enterprise AI Solutions
Mobile

Unlocking Potential: Exploring the FDE Model in Enterprise AI Solutions

November 14, 2026
Unlocking the Scoop: Upcoming Sale Dates, Price Highlights, and Previous Bargains
Mobile

Unlocking the Scoop: Upcoming Sale Dates, Price Highlights, and Previous Bargains

November 14, 2026
Unlocking Website Security: The Marketbyte Edge in Open Source Solutions
Mobile

Unlocking Website Security: The Marketbyte Edge in Open Source Solutions

November 13, 2026
Uncovering the Best Solutions for Your Mobile Risk Concerns
Mobile

Uncovering the Best Solutions for Your Mobile Risk Concerns

November 12, 2026
Next Post

Ukraine launches huge drone attack on Moscow hours after CIA director visits | World | News

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
      • Travel-Africa
      • UK
      • USA
      • Weather
      • World
      No Result
      View All Result

      Recent News

      Gators Shock Wildcats 21-14 in Thrilling Upset Amid Rollercoaster Season

      Gators Shock Wildcats 21-14 in Thrilling Upset Amid Rollercoaster Season

      November 15, 2026
      Government Announces Historic  Billion Investment in Energy Infrastructure Development

      Government Announces Historic $2 Billion Investment in Energy Infrastructure Development

      November 15, 2026
      Notre Dame Postgame Insights: Dive into Superchats with Westwood One Sports

      Notre Dame Postgame Insights: Dive into Superchats with Westwood One Sports

      November 15, 2026
      Transform Your Laptop Setup with These 5 Affordable Accessories

      Transform Your Laptop Setup with These 5 Affordable Accessories

      November 15, 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