Giter Club home page Giter Club logo

filbak's Introduction

This is the readme file for implementing filter and bakery locks in Java. For analysis and conclusion of results read here: https://medium.com/furkankamaci/implementing-filter-and-bakery-locks-in-java-234cbf545354

How To Compile the Application?

Project is developed as a maven project. So,

mvn clean install

will be enough. There are also maven plugins for downloading licenses and analyzing application code with Sonar and they can be run individually.

How To Run the Application?

Application has a command line interface which will guide you to run it. When you navigate to distribution folder or target/hw1-1.0 folder (not directly under target folder) you can use that instructions:

java -jar filbak-{version}.jar -t [THREAD LIST] -m [MAX ITERATION NUMBER] -r [RETRY COUNT]

-a,--about                get info about application
-m,--maxNumber <arg>      loop up to that maximum number
-r,--retryCount <arg>     number of retry count to test each thread
-t,--threadCounts <arg>   comma separated thread count list

i.e. application default is:

java -jar filbak-1.0.jar -t 1,2,3,4,5,6,7,8 -r 20 -m 10000000

Where is the Output?

Errors and algorithm outputs are printed into System output but application is configured to log algorithm specific outputs into log file of it too. When you run the application a folder with a name "logs" will be created and under that folder:

FurkanKAMACI_filbak.log

is algorithm output which can be used for analysis.

Author

Furkan KAMACI

filbak's People

Contributors

dependabot[bot] avatar kamaci 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.