Dynamic Aspect-Oriented Load Balancing in Java RMI

13 years 8 months ago
Dynamic Aspect-Oriented Load Balancing in Java RMI
Load balancing is the process of distributing client requests over a set of servers, and is a key element of obtaining good performance in a distributed application. Java RMI extends Java with distributed objects whose methods can be called from remote clients. In some Java RMI programs, there may be multiple replicas of a given object that can be the receiver of a remote method invocation. Effectively distributing these requests across these replicas requires either an extra balancer process or additional code on the client for this distribution. In this paper, we demonstrate the use of dynamic aspects in JAC to solve this problem. The client proxy is modified with an aspect to forward requests to a specific server, but the server is also able to shed load by altering or removing this aspect. The overhead of this approach is evaluated using a set of microbenchmarks.
Andrew Stevenson, Steve MacDonald
Added 30 Oct 2010
Updated 30 Oct 2010
Type Conference
Year 2008
Authors Andrew Stevenson, Steve MacDonald
Comments (0)