Hi, I have a collection of ~400 documents. And I have a REST method that for now just returns the result of the .find({}) query on this collection (i'm using mongoose btw). When I tried to benchmark this method with ~40 requests per second, I found that response times are horrible (~10s), and after I profiled the app, the flamegraph looked like this
![](https://lh3.googleusercontent.com/-yIlM9iSPDKU/WxaULmP7AZI/AAAAAAAAAYA/AUdhngfJRSo8PTlIV44H9wYzKquVaoiSACLcBGAs/s400/%25D0%25A1%25D0%25BD%25D0%25B8%25D0%25BC%25D0%25BE%25D0%25BA%2B%25D1%258D%25D0%25BA%25D1%2580%25D0%25B0%25D0%25BD%25D0%25B0%2B2018-06-05%2B%25D0%25B2%2B16.33.46.png)
Performance become tolerable when the query pulls like 20-30 objects, but if it gets over 100, the app just gets stuck on deserializing the results. Is it normal? Can . I do something about this?
Thanks in advance.