6 This is an extension of the Load_Balancing_Service example in
7 $TAO_ROOT/examples/Load_Balancing. The aim of this example is to show
8 a methodology to preserve the state of the service. Here, the service
9 stores the object reference of multiple copies of servers registered,
10 so that load can be balanced among the registered servers. If the load
11 balancing service fails, the references of the servers registered, is
12 read from the persistent storage and can be used to satisfy the
13 clients request. The core functionality is not much different from
14 that of the normal Load_Balancing_Service in
15 $TAO_ROOT/examples/Load_Balancing.
19 The service is started as follows
21 $./load_balancer -ORBEndPoint iiop://localhost:10016 -o filename
23 The server is started as follows
25 $./server -i file://filename -ORBEndPoint iiop://localhost:10007
27 and the client is started as follows
29 $./client -i file://filename [-r]
31 Now, the user can kill the service & restart the service. If the
32 client is restarted, everything should work fine as before.
35 The code contains some MACROS like DOORS_MEASURE_STATS. They have been
36 added for the performance measurements that were performed on this