Flipkart / DUS

A differential download based Over The Air(OTA) Update system for React Native
75 stars 25 forks source link

how is this different from code push? #9

Open bansal-rahul opened 5 years ago

bansal-rahul commented 5 years ago

@surya-kanoria Can you please explain how is this different from other OTA-update services like code push?

PavanGangireddy commented 5 years ago

@surya-kanoria Is this still under active development?

gupta-ji6 commented 4 years ago

@surya-kanoria Can you please explain how is this different from other OTA-update services like code push?

@bansal-rahul, I found this which explains how is it different from CodePush

When we looked at the known existing solutions like CodePush etc, we found three major issues that were not solved but were critical for us:

  1. The updates were not really instant as a cached bundle gets loaded while it silently gets updated in the background.
  2. These updates were enormous in size (around 700kB) as the entire bundle gets downloaded at the client-end everytime an update is shipped. For our average 2G users who visit the app once a month, it would take more than 30s for the React Native bundle to get downloaded and the page to be loaded everytime the App is launched.
  3. We have multiple teams maintaining their own React Native bundles. When these teams themselves share a lot of common components besides the React Native Framework Code, lots of redundant download is caused.