Demonstration on various methods of concurrent programming in Java.
In association with SarenDev.
This repo contains 3 approaches to concurrent programming in Java. The solutions for solving concurrent problems increase in complexity from the first to the last assignment.
-
Assignment1:
- Comparing the efficiency of number sorting using the following approaches:
- Single-thread, single array
- Single-thread, split array
- Two threads, split array
- Multi-thread, progressively splitting arrays
- Comparing the efficiency of number sorting using the following approaches:
-
Assignment 2:
- Simulating a club with attendee management. Involving thread pools, reentrant locks and thread priority
-
Assignment 3:
- Simulating a hotel reservation system using multiple Akka actors and message exchanges
This project was made as a part of a university project.