Tweeted twitter.com/StackSoftEng/status/1036630360501772288
2 Removed problematic POB language, improved grammar.
source | link

I am creating Qt application that uses database with huge amount of data to draw some charts. Fetching data from the database is time consuming, so itsis blocking the application thread or worker thread creating an unpleasant delay. I

I have an idea that instead of dodoing everything at once I can fetch data and draw charts in chunks. Is there anyHow would I design pattern for such thingthis functionality? 

I have no idea how can I design and name (ObscureDatabaseChunker?) my interfaces. I want also want there to be there alsoa place for other database stuff, like caching, in clean way.

I am creating Qt application that uses database with huge amount of data to draw some charts. Fetching data from database is time consuming, so its blocking application thread or worker thread creating unpleasant delay. I have an idea that instead of do everything at once I can fetch data and draw charts in chunks. Is there any design pattern for such thing? I have no idea how can I design and name (ObscureDatabaseChunker?) my interfaces. I want to be there also place for other database stuff, like caching, in clean way.

I am creating Qt application that uses database with huge amount of data to draw some charts. Fetching data from the database is time consuming, so is blocking the application thread or worker thread creating an unpleasant delay.

I have an idea that instead of doing everything at once I can fetch data and draw charts in chunks. How would I design this functionality? 

I have no idea how can I design my interfaces. I want also want there to be a place for other database stuff, like caching, in clean way.

1
source | link

Design pattern for fetching data in chunks

I am creating Qt application that uses database with huge amount of data to draw some charts. Fetching data from database is time consuming, so its blocking application thread or worker thread creating unpleasant delay. I have an idea that instead of do everything at once I can fetch data and draw charts in chunks. Is there any design pattern for such thing? I have no idea how can I design and name (ObscureDatabaseChunker?) my interfaces. I want to be there also place for other database stuff, like caching, in clean way.