The most efficient way to learn Node.js is to do something with it. Nice of
you to do the research first, very smart!
There are two approaches to this:
1) Try to build something "real".
If you have prior programming experience, you'll know that the language has
it's quirks. Watch Douglas Crockf
So,
I made changes to code of node.
1. I removed that extra query for use data base and added in connect
paarmeter.
2. I changed it to createPool. But still the siege output is awkward
See in node (the upper one)
1. The number of hits and transactions is less than that of PHP+Apache
in node i
At http://nodejs.org/documentation/ it says "Here on nodejs.org you will
find three types of documentation, reference documentation, getting started
documentation, and tutorials."
I can find the reference documentation (http://nodejs.org/api/) and the
tutorials (http://nodejs.org/documentation/
I've not looked at the code but the the two tests still don't look
identical given that node transferred 402MB to PHP's 58MB which is
reflected in node's almost 7x throughput, which I'd count as a resounding
success :) Yet another reason I distrust microbenchmarks like this one.
-- Daniel R. [htt
The best place to get started is Node School: http://nodeschool.io/
On Fri, Feb 20, 2015 at 2:30 AM, alota takada wrote:
> At http://nodejs.org/documentation/ it says "Here on nodejs.org you will
> find three types of documentation, reference documentation, getting started
> documentation, and t
So Node transferred 400MB of data in the same time that PHP transferred
58MB of data? Sounds like a big win for Node.
On Fri, Feb 20, 2015 at 2:29 PM, Anirban Bhattacharya <
anirbanbhattacharya1...@gmail.com> wrote:
> So,
>
> I made changes to code of node.
>
> 1. I removed that extra query for u
Hi yes,
As per throughput node is 6.7 times more than of php as of the above result.
But i am still surely not sure why transfer rate so clow. Aslo if no failure
then what does the meaning of less data transferred in PHP?
I will double check my node output to make sure that its non repeating outpu
I am going to perform with 500 concurrent now with 1 sec delay for 10 mins
and see if that makes difference.
On Feb 20, 2015 4:29 PM, "Anirban Bhattacharya" <
anirbanbhattacharya1...@gmail.com> wrote:
> So,
>
> I made changes to code of node.
>
> 1. I removed that extra query for use data base and
Hi!
On Thursday, February 19, 2015 at 11:30:44 PM UTC-8, alota takada wrote:
>
> At http://nodejs.org/documentation/ it says "Here on nodejs.org you will
> find three types of documentation, reference documentation, getting started
> documentation, and tutorials."
>
> I can find the reference do
Are you sure you have 100 rows in your prod_master? try to replace query
with "select * from prod_master limit 100"
200 rps seems to be too low for 100 rows of data
On Saturday, 21 February 2015 06:29:16 UTC+11, Anirban Bhattacharya wrote:
>
> So,
>
> I made changes to code of node.
>
> 1. I remo
Why did PHP transfer so much less data than Node in your tests?
On Feb 20, 2015, at 1:29 PM, Anirban Bhattacharya wrote:
>
> So,
>
> I made changes to code of node.
>
> 1. I removed that extra query for use data base and added in connect
> paarmeter.
> 2. I changed it to createPool. But still
11 matches
Mail list logo