摘要 |
Methods and systems for evaluating policies for load balancing in a network environment are disclosed. A switch provides load balancing of requests among different servers using an expression tree comprising data structures of precompiled executable code to determine an appropriate server group for sending traffic. When the switch receives a network request, such as an HTTP request, a policy evaluation processor executes the precompiled executable code to identify a group of network servers for servicing the request and forwards the request to the selected group of network servers. The request can be load balanced among the selected server group through any suitable load-balancing algorithm.
|