Hi all,
This discussion thread pertains to the [GSoC 2020] Custom Distribution Service Project feature implementation decision that the GsoC team would like feedback on. Basically the problem right now is that the update center.json is quite a big file and making an api call to it takes a minimum of 30 seconds, therefore we would like to know out of the below two designs which one would users prefer:
a) We download the update-center.json and store it in a temporary folder, every time the service is started and thus for the entire duration of the running of the service we would be able to make use of this file. On exit or shutdown of this service the temporary folder is deleted.
b) We persist the update-center.json and store it only when the service is started for the first time and on every subsequent run thereafter we would not make any api call. Instead we would provide the user with a button on the UI saying that "Hey the update center has not been updated for x amount of time would you like to pull in the latest changes"
Would love to get some feedback on this thread
Thanks and Cheers