Hi Imran,
for larger amount of data I would recommend to use server side paging using $skiptoken.
This way the server only offers to provide a certain amount of entries of a collection and if more reside on the server tell the client about with providing a next link.
This works for example out of the box using the power pivot plugin from Microsoft Excel.
Best Regards,
Andre