soa - Gateway Service in Service-Oriented Architecture -
i'm enamoured idea of implementing own single-entry-point "gateway" 2 things.
first, records how many requests have been handled soa servers , cycles next request available server. full control on load balancing logic attractive.
second, "gateway" single liaison services, including security. if client sends username-password combo, passes them security service grants token on successful authentication. if client sends token, gateway runs token security service and, if it's kosher, passes request 1 of business services. hiding or encapsulating services besides gateway seems desirable.
my questions are: there reason why not "the right way things"? reinventing wheel when there's framework i've described above? stack .net , wcf.
good question, have agree sweetfa's comment, in 99% of cases off-the-shelf load balancer best option. more exhaustive list of options:
- hardware load balancer/gateway (e.g. ibm xml gateway) - scalable , expensive
- a service bus software (e.g. oracle service bus) security , load balancing - configurable , expensive. less scalable hardware solution
- an open source load balancer software (e.g. apache httpd proxy module) have large number of users setting via forums. many of solutions pretty scalable , robust, have more complex way of configuration options 1 , 2
- load balancing based on service registry (uddi v3), when service consumer looks provider uri @ every invocation. registry load balance requests returning different uris. solution won't act security gateway , consumers may ignore alltogether
- build own, if need advanced adaptive load balancing algorithm or if want non-standard security layer. let's forget non-standard security, idea, adaptive load balancing can desirable. options 1-3 round-robin or weighted round robin or adaptive round robin based on response times , detect unresponsive instances. options 1 , 3 provides difficult implement feature, http session stickyness well, not necessary soap or rest services
Comments
Post a Comment