-
Notifications
You must be signed in to change notification settings - Fork 0
manu4444/multi-threaded-server-TCP-RMI
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Name: Anoop Shukla (shukl047) Manu Khandelwal (khand055) -------------------------------------------------------------- A. Instructions on how to run and test your program. -------------------------------------------------------------- A.1 Unzip the attached tar using command tar -xvf state-machine-model.tar A.2 Go to directory state-machine-model and compile all java classes by: javac */*/*/*.java A.3 Start server by java -Djava.security.manager -Djava.security.policy=java.policy.applet com/bank/rmi/RmiBankServerImpl serverId configFile A.4 Run client by java -Djava.security.manager -Djava.security.policy=java.policy.applet com/bank/rmi/RmiBankClient threadCount configFile Note: RMI is started programatically hence does not need to be externally triggered Current configFile contain localhost as host. But code has been tested in different linux host as well. --------------------------------------------------------------- B. Generated Log File Detail --------------------------------------------------------------- B.1 Log file generated by the client is named 'clientLogFile' at the root folder of program (under state-machine-model) B.2 Log file generated by each server is named 'serverLogFile<serverId>' at the root folder of program --------------------------------------------------------------------------- C. Performance data that observed for the three system sizes: 1, 3, and 5 per client Total thread per client: 8 | Total iteration per thread: 100 --------------------------------------------------------------------------- C.1 Average Request Processing Time (milliseconds) 1 servers: Server 0: 13.57 C.2 Average Request Processing Time (milliseconds) 3 servers: Server 0: 68.9225 Server 1: 22.55125 Server 2: 77.6675 C.3 Average Request Processing Time (milliseconds) 5 servers: Server 0: 103.63125 Server 1: 160.0175 Server 2: 139.885 Server 3: 36.4975 Server 4: 35.82