An open API service indexing awesome lists of open source software.

https://github.com/piomin/sample-java-concurrency

Demo app and JUnit tests illustrating the most useful concurrency mechanisms in Java
https://github.com/piomin/sample-java-concurrency

http-server java java-concurrency java19 virtual-threads

Last synced: about 1 month ago
JSON representation

Demo app and JUnit tests illustrating the most useful concurrency mechanisms in Java

Awesome Lists containing this project

README

        

# Java Concurrency and Parallelism Demo Project [![Twitter](https://img.shields.io/twitter/follow/piotr_minkowski.svg?style=social&logo=twitter&label=Follow%20Me)](https://twitter.com/piotr_minkowski)

Go to the following articles for more details:

1. How to build your own HTTP server with #Java API, use virtual threads for handling incoming requests and compare performance with version based on standard threads -> [Java HTTP Server and Virtual Threads](https://piotrminkowski.com/2022/12/22/java-http-server-and-virtual-threads/)
2. How to use virtual threads, build a native image with GraalVM and run such the Java app on Kubernetes -> [Native Java with GraalVM and Virtual Threads on Kubernetes](https://piotrminkowski.com/2023/01/04/native-java-with-graalvm-and-virtual-threads-on-kubernetes/)