load balancing - Should I use Oort or write my own forwarding using CometD, when nodes don't need to know about each other? -


my app work follows:

i'll have bunch of replica servers , load balancer. data updates managed outside cometd. edit: still intend notify each cometd server of updates, if necessary, can respond clients.

the clients subscribing updates (i.e. read only), cometd server nodes don't need know each other's behavior.

am right in thinking have server side "client" instances on load balancer, per client connection, each instance listens on same channel respective client , forwards messages it? if so, there disadvantages approach, instead of using oort?

reading docs oort, seems nodes "know" each other, don't need. better me avoid using oort altogether, in case? concern if ended adding many many nodes, fact communicate "each other" mean unnecessary processing?

the description of issue specifies data updates managed outside cometd, not detail how cometd servers notified of these data updates.

the 2 common solutions a) notify each cometd server or b) use oort.

in solution a) have event triggers data update, , external application performs data update on, say, database. @ point external application must notify cometd servers there data update. if external application runs on jvm, can use cometd java client send message each cometd server, notifying them of data update; in turn, cometd servers notify remote clients.

in solution b) external application must notify 1 cometd server there data update; oort cluster rest, broadcasting message across cluster, , remote clients.

solution a) not require oort cluster, requires external application know nodes, , send message each node.

solution b) uses oort, external application needs know 1 oort node.

oort requires bit of additional processing because nodes interconnected, depending on case processing may negligible, or complications of notifying each cometd server "manually" (as in solution a) may greater running oort.

i don't understand mean having "server side client instances on load balancer". typically load balancers don't run jvm not possible run cometd clients on them, sentence not sound right.

besides cometd documentation, can @ these slides.


Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -