Skip to content

Files

Latest commit

 

History

History
58 lines (40 loc) · 1.65 KB

README.md

File metadata and controls

58 lines (40 loc) · 1.65 KB

Virtual Threads with Shaft Engine

This repository demonstrates the use of virtual threads with the Shaft Engine. Virtual threads allow for lightweight and efficient multithreading, enabling developers to execute concurrent tasks without the overhead of traditional threads.

Features

  • Virtual Threads: Lightweight threading model for high concurrency.
  • Shaft Engine: Efficient task scheduling and execution.
  • Examples: Real-world use cases to showcase virtual threads in action.
  • Performance Metrics: Benchmarks to compare virtual threads against traditional threading models.

Getting Started

Follow the instructions below to set up and run the examples in this repository.

Prerequisites

  • Java 21 or higher (required for virtual threads).
  • Maven (for building the project).
  • A compatible IDE (e.g., IntelliJ IDEA or Eclipse).

Installation

  1. Clone the repository:

    git clone https://github.com/your-username/virtual-threads-shaft-engine.git
    cd virtual-threads-shaft-engine
  2. Build the project using Maven:

    mvn clean install
  3. Open the project in your favorite IDE.

Running the Examples

To run the examples:

  1. Navigate to the src/test/java directory.

Repository Structure

virtual-threads-shaft-engine/
│
├── src/
│   ├── main/
│   │   ├── java/
│   │   │   ├── page objects/     # Page Objects classes
│   └── test/                     
        │   ├── Tests/            # Test Classes
├── README.md                     # Project documentation
└── pom.xml                       # Maven build file