Hi Ben

Many thanks for these tips. The reason why I have not shown code is that
the code was adapted from production stuff and is therefore not one neat
file. I intend rewriting the code to make it neater.

That being said, surely the instance size does not matter. I know Node
likes power, but using that reasoning, so does Python (it must also suffer
from the same garbage collector constraints). That being said, I will be
ramping my box and report back.


On Tue, Nov 27, 2012 at 2:44 PM, Ben Noordhuis <[email protected]> wrote:

> On Tue, Nov 27, 2012 at 4:25 PM, Barry Steyn <[email protected]>
> wrote:
> > Yes, we ran connection pooling. And with respect to AWS micro instance,
> it
> > should still (no matter the variation) allow Node to come out tops,
> > shouldn't it?
>
> I put as much faith in benchmarks running on small and micro instances
> as I do when run in a qemu instance on my desktop PC: none whatsoever.
>
> How much memory does your micro instance have?  V8 doesn't like
> constrained environments, its GC needs a fair bit of real, physical
> memory to perform well.  Try tracing your application with --prof to
> see where it's spending its time.
>
> I'll repeat that without seeing your code, it's impossible to tell
> what you're actually benchmarking - or if your python and js code are
> indeed benchmarking the same thing.
>
> --
> 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 [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/nodejs?hl=en?hl=en
>

-- 
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to