Skip to content
/ Twisk Public

Twisk: A queue simulation tool developed in Java and C, using multithreading to model and test client workflows.

Notifications You must be signed in to change notification settings

sbnh1/Twisk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Twisk

Twisk is a queue simulation tool that allows users to design and test their own workflows. Built using Java for the GUI (JavaFX), it leverages C for client simulation through multithreading and connects the two via JNI.

Features

  • Design custom workflows with "Activities" and "Counters."
  • Configure entry/exit points for clients in the simulation.
  • Choose between Uniform, Gaussian, and Exponential distributions for client arrival rates.
  • Save and load simulation worlds as .json files.
  • Import pre-made worlds and modify them.
  • Real-time client simulation powered by multithreading in C.

How it Works

Twisk operates as a hybrid system:

  • Java: Provides the graphical interface and handles the main application logic.
  • C: Manages the client simulation using multithreading for efficient performance.
  • JNI: Bridges Java and C, enabling seamless integration of the two languages.

This architecture allows Twisk to simulate fifty of clients in real-time while offering a user-friendly design interface.

Resources

About

Twisk: A queue simulation tool developed in Java and C, using multithreading to model and test client workflows.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published