On Feb 21, 2015 3:57 PM, "Anirban Bhattacharya" <
anirbanbhattacharya1...@gmail.com> wrote:

> Seriously? A just select query is considered as so much db operation for a
> web app?
> Ok tell me how to create test scenario ? A hello world will do?
>
>> <https://groups.google.com/d/optout>
>
> I'm not sure you understand what I'm saying.

In your scenario, only one thing is really doing any work. And that thing
is the database.

So it does not matter very much which language you choose, from a strictly
performance standpoint.

But to put it another way...

Hello World "benchmarks" are meaningless. One-query database "benchmarks"
are also meaningless. They have nothing to do with real work. They don't
measure anything important.

Write a quick prototype of the real-world application you are interested in
building - a half-complete version, just one important feature - just
enough to test a real-world scenario that actually matters.

Write it in both languages, both frameworks.

Then measure:

The time it takes you to do it
How much you enjoy working with it
How hard it is to read the resulting code
How hard it is to maintain the resulting code
*And* the performance.

Decide what the "sweet spot" is for all five of those metrics for your
particular project's needs, and make the right choice for you.

You will never find the "perfect benchmark" that tells you which tool is
better. A screwdriver is not better than a hammer.

>  --
> Job board: http://jobs.nodejs.org/
> New group rules:
> https://gist.github.com/othiym23/9886289#file-moderation-policy-md
> Old group rules:
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "nodejs" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/nodejs/mf0Qhj1WVl8/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> nodejs+unsubscr...@googlegroups.com.
> To post to this group, send email to nodejs@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/nodejs/CANjZ2S6te9qgp29-hfn3-ftT6R%2Bh20d7r_8WB6mopcKUfigMVg%40mail.gmail.com
> <https://groups.google.com/d/msgid/nodejs/CANjZ2S6te9qgp29-hfn3-ftT6R%2Bh20d7r_8WB6mopcKUfigMVg%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to nodejs+unsubscr...@googlegroups.com.
To post to this group, send email to nodejs@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/CAORXhGKdDQ3rvz9qV1m%3DaXRpJiRV3Jh8Fzyq0bBu_8fQ-HFGVA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to