Hi,

I'd like to unsubscribe from the mailing list. Please let me know how to 
proceed.

Thanks
Cheng


-----Original Message-----
From: [email protected] [mailto:[email protected]] 
Sent: June 21, 2010 3:17 PM
To: [email protected]; [email protected]; [email protected]; 
[email protected]
Cc: [email protected]; [email protected]
Subject: Re: Adding AbsolutePathReferenceRewriter and DomainBalancingUriRe 
(issue1674041)

Hi Gagan:

I'm a little confused still at the primary intended action of this CL.
Is the idea to balance domains that _aren't_ controlled by the Shindig server 
(ie. not proxy URLs) but which _are_ known to be balance-able in some fashion? 
This type of logic seems outside the scope of Shindig proper, and could be 
implemented in other ways, eg. as a purpose-built ProxyUriManager injected into 
a given installation.

Or is it instead intended as a way to simply ensure that when generating proxy 
URIs, they're generated using some kind of balancing algorithm? In that case, 
I'd still suggest that a ProxyUriManager implementation be used, but since the 
URI is under control of Shindig, it would make sense to put in Shindig. An 
example impl might, for instance, introduce a substitution token in proxy Uris:
"gadgets.uri.proxy.host": "%balanced%.foo.com"

...where the value of %balanced% could be supplied by an @Inject'ed class.

--j

http://codereview.appspot.com/1674041/show

Reply via email to