Skip to content

Academic assignments of the Foundations of Parallel, Concurrent, and Multithreaded Programming course

Notifications You must be signed in to change notification settings

agrawal-priyank/Multithreaded-Simulations

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Multithreading in Java

Description

  • Simulated an auction and a coffee shop real-life scenarios using multi-threading techniques such as synchronization, locks, wait, notify, thread executor, and atomic and non-blocking data structures.
  • Used akka framework to implement the actor system model for counting vowels from multiple text files and predicting the number of vowels in a file during each iteration and updating the prediction parameter depending on the accuracy.

Code

  1. Auction Simulation
  2. Coffee Shop Simulation
  3. Counting Vowels using Akka

Programming Language

Java

Packages

Akka

Tools/IDE

NetBeans, IntelliJ

Note

  • I have just included the source code of all the projects in this repository, so if you would like to run the code then just make a Java project in your preferred IDE and copy all the class files in the src folder of your project and run the class with the main method.
  • For running the Akka project download akka_2.11-2.4.20.zip file from https://doc.akka.io/downloads/ and then add the following three jars present in the lib folder of the downloaded zip file to the build path of your Java project.
  1. lib/scala-library-2.11.11.jar
  2. lib/akka/akka-actor_2.11-2.4.20.jar
  3. lib/akka/config-1.3.0.jar

About

Academic assignments of the Foundations of Parallel, Concurrent, and Multithreaded Programming course

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages