Hixon10 / openjdk-mailing-lists-search-old

Search for openjdk mailing lists
https://hixon10.github.io/openjdk-mailing-lists-search/
MIT License
1 stars 0 forks source link

Implement proof of concept for using virtual threads (project Loom) in Indexer #3

Open Hixon10 opened 2 years ago

Hixon10 commented 2 years ago

We have a few places, where we perform indexing concurrently. At present, we use async http client and regular JVM threads. In this task we could implement POC with Loom-threads. If it decrease indexing time, we can use virtual threads.

definition of done: Indexer uses virtual threads instead of regular threads, and all tests are passed.

This task depends on https://github.com/Hixon10/openjdk-mailing-lists-search/issues/7

Hixon10 commented 2 years ago

This task is blocked by gradle 7.6 release. Current version of gradle doesn't support java 19, which is needed for Loom.

https://github.com/gradle/gradle/issues/20372#issuecomment-1255140438