On Sun, Jun 21, 2015 at 9:51 PM, Emerson Rocha Luiz <fiti...@gmail.com> wrote: > So, on this type of load balancing (workers scheduling policy based on > WRITE/READ request), is possible use node-cluster?
node-cluster is for "symetrical" servers: ones in which each server is identical. For routing requests based on content, use nginx , and run two apps, on different ports, one the read-only, the other the write-only. They can have the same code, just run them separately (each app can use cluster, which you don't have to embed into your app, use a process manager, like http://strong-pm.io). -- 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/CACmrRmR8AE22etv0WxLsu%3D-JaxRvVgfNajCQsqv4PyoHPzDchQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.