Coder Social home page Coder Social logo

multi-threaded-server-tcp-rmi's Introduction

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

multi-threaded-server-tcp-rmi's People

Contributors

manu4444 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.