W.S. Hager
Lagua Web Solutions
http://lagua.nl
On 12/19/2011 2:30 AM, W.S. Hager wrote:
> Using apache benchmark with 10000 connections I get very high cpu
> usage for node. Response times are around half a second for single
> records. JSON text is somewhat better than mysql, but not by much.
Have you tried turning on profiling (nodejs has a profiling option) to
analyze what parts of the code are a bottleneck?
> I tried to up the processes in local.json, but I don't see new node
> processes. This setup is based upon the wiki example.
>
Note that on Node 0.6 that multi-node no longer works, and Node 0.6
provides it's own multiple process facilities:
http://nodejs.org/docs/latest/api/cluster.html
However, I think there is still some things to iron out with the
inter-process communication if you need that.
Thanks,
Kris