On Fri, 27 Jan 2012 12:34:13 -0800 (PST), luther wrote:
Hi all,
I'm choosing a technology to build ad serving and tracking system,
and
I wonder if node.js will be suitable for this task.
Basic requirements are:
- max 500 000 000 request per day / average 125 000 000 request per
day
- ad delivery time under 1 second
Of course it has to be under 1 second :)
125M per day = ~ 1.4K per second
On every request I have to write it to a database (IP, some query
parameters, etc.) and increment a number of unique and nonunique
impressions/clicks/leads.
Unfortunately I have to use mySql database.
It will run on servers with 2x E5620 CPU (2,4 GHz, 4 cores), 32GB
RAM.
Two servers will be used by ad serving and tracking system and
another
two by a database.
Could you advice me if node.js could handle it?
Maybe some of you could share experiences about production usage of
node.js - rps numbers, latency, used database and servers.
- You probably need to have several node instances, with a proxy like
nginx in front (not sure cluster is the way to go for now).
- Using nginx will allow for compression/caching without you doing
anything in your node code.
- Be carefull if you're going to save an access history in your
database
or a log file of every request, it will get huge very fast.
---
Diogo R.
--
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