Which design template would be intelligent in which the following Components (simplified) exist:
3 components
- GUI
- Data collection
- Database

I do not have access to a server on the Internet, its just a data source. Data stored on the Internet is always newer, a local database is just a copy (cache) of the one on the Internet. The graphical user interface can request and update the local cache, and then receive asynchronously new data, which may take some time. The GUI only displays data from the local database, which it can synchronize.
So my question is: what classes would you use to possibly run the service with Progressbar features long term? Are there any better projects for this kind of "problem"? Are there any more efficient methods?
kadir source share