On Tue, Nov 12, 2013 at 2:42 AM,  <[email protected]> wrote:
> We are developing a web based solution.
>
> The server side will have 3 million to 15 million user records.Each user
> record has a binary code (master code) which will be stored as part of the
> user record in the database.
>
> There will be multiple client machines 10 to 50+ sending requests to the
> server.
>
> The client machines will send out a binary code (slave code) to the server.
> The Server will try to match the slave code with the master code. If the
> slave code and master code are a pair then the system will send out the
> record to the client machines in real time. The process of determining if a
> slave code and master code are a match is a bit complex and is determined by
> our matching algorithm. This algorithm can match 40,000 records per second
> per core.
>
> I am a bit concerned on which language we should use for this application.
> We were thinking of using Java but then someone recommended Node.js & NoSQL
> (as Node.JS is very easy to scale & takes care of lots of aspects &
> development time is far less).
>
> Can anyone provide advantages/disadvantages of using either Node.js or Java?
> Is Node.js a good fit for this project?
>
> Thanks a lot for your help.

I'd say it depends on how computationally expensive your matching
algorithm is.  V8 (the JS engine) is no slouch but it's usually not in
the same ballpark as C or Java.

That said, it's often possible to get performance that's within a
factor of 2-3x of native code if you craft your code carefully.  On
top of that, calling out to C or C++ code from JS is quite easy so
there is an escape hatch if you need it.

If your application is mostly I/O-bound (many applications tend to
be), then node.js should be a great fit.

-- 
-- 
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

--- 
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to