-3

I tired to implement crud Operation in node js using mongodb.I have 5000 data in mongodb.In data i have lot of images.first time i tried to using get data to show all 5000 datas.but its showing 50s delay to show the data.how to show data without delay.give me solution

smith hari
  • 437
  • 1
  • 11
  • 22

1 Answers1

-1

Sending whole data might be a problem in some cases, to solve this we can send data to some limit or according to client requirements. Pagination rectifies this to some extent, it limits and skips the data as per your needs. Take a look at this link to know how to use it.