It's probably caused by buffering. Both mongodb and node.js are able to 
perform well when you're streaming data, but if you're downloading the 
entire dataset into memory, you'll easily get such issues.


On Friday, September 27, 2013 1:31:54 PM UTC+4, Luke Han wrote:
>
> Hi Experts.
>     We are building a data feed rest service with node.js and 
> MongoDB/Express. The server perform very well if the query result is small. 
> But it will hang the server when the client query a large dataset, such as 
> 1m rows (already using gzip to compression). Is this caused by node.js 
> single thread design? 
>     I would like to consulting you about any idea to handle this. 
>     Any comments are welcome:)
>     Thank you very much.
>
> Luke
>

-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to nodejs@googlegroups.com
To unsubscribe from this group, send email to
nodejs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to nodejs+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to