I am trying to load data in chunks on timely basis. for this I am using thee methods.
This function loads data from a json object that I am using to mimic api