Found my solution in 'backgrounder'. Quit simple to start a custom module 
as background process.

Imre 

Op zondag 24 juni 2012 01:19:23 UTC+2 schreef Imre_b het volgende:
>
> Quit new to node ....
>
> Case: An Express based rss server, with custom caching mechanism. (An 
> Object array) Works flawless.
> The data comes from a mysql server, defined in a module.
>
> Under heavy load one cpu core exceeds 100%, due to the database calls.
>
> Just clustering the whole server is no solution, every instance is 
> creating its own cache data.
>
> Is it possible to cluster only the database module?
>
> Like: Starting 4 childprocces, send a request for data to one of the 
> processes and respond to the same request.
>  
>
>
Op zondag 24 juni 2012 01:19:23 UTC+2 schreef Imre_b het volgende:
>
> Quit new to node ....
>
> Case: An Express based rss server, with custom caching mechanism. (An 
> Object array) Works flawless.
> The data comes from a mysql server, defined in a module.
>
> Under heavy load one cpu core exceeds 100%, due to the database calls.
>
> Just clustering the whole server is no solution, every instance is 
> creating its own cache data.
>
> Is it possible to cluster only the database module?
>
> Like: Starting 4 childprocces, send a request for data to one of the 
> processes and respond to the same request.
>  
>
>
Op zondag 24 juni 2012 01:19:23 UTC+2 schreef Imre_b het volgende:
>
> Quit new to node ....
>
> Case: An Express based rss server, with custom caching mechanism. (An 
> Object array) Works flawless.
> The data comes from a mysql server, defined in a module.
>
> Under heavy load one cpu core exceeds 100%, due to the database calls.
>
> Just clustering the whole server is no solution, every instance is 
> creating its own cache data.
>
> Is it possible to cluster only the database module?
>
> Like: Starting 4 childprocces, send a request for data to one of the 
> processes and respond to the same request.
>  
>
>

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