From: rubyonrailsx <rubyonrai...@gmail.com>
Date: Mon, 10 Sep 2012 17:31:21 +0800
Local: Mon, Sep 10 2012 5:31 am
Subject: Re: [nodejs] best practice for real-time socket-based cross clustered-process data communication and computation
Did you consider remove the need for communication between service A and service B . Instead use redis as message pipe?
-- On Monday, September 10, 2012 at 4:44 PM, Yi Tan wrote:
> Hi node mates: > I'm looking for your advice about how to design and implement an mechanism for real-time socket-based cross clustered-process data communication and computation. > [The server layout]
> clientA <--tcp socket--> node service A <--> DataModelA <--> unique radis data store > clientB <--tcp socket--> node service B <--> DataModelB <--> unique radis data store
> * node service A and B are cluster on the same server > [The function request]
> I need to implement a mechanism, in which: > the logic looks like the following diagram:
> clientA <--tcp socket--> node service A
> Do you know what is the best way to do this, or is there something already been built
> Many thanks,
> ty
> -- You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||