diff --git a/index.html b/index.html index 5404847fcb..5ebc0dab35 100644 --- a/index.html +++ b/index.html @@ -1354,4 +1354,14 @@

data source

-

Minimal Application (minimalApplicationWithLoom) - Virtual threads show significantly better performance: - ~24x higher throughput (935.74 vs 38.36 requests/sec) - Much better latency (106.11ms vs 1.05s) - Platform threads experienced 1,076 timeout errors while virtual threads had none


About the Author: Haoyi is a software engineer, an early contributor to Scala.js, and the author of many open-source Scala tools such as Cask, the Ammonite REPL and FastParse.

If you've enjoy using Cask, or enjoyed using Haoyi's other open source libraries, please chip in (or get your Company to chip in!) via Patreon so he can continue his open-source work


Main Customization
\ No newline at end of file +

The performance of non-blocking virtual threads varies, depending on whether blocking is a problem or not.

+ +

In general virtual threads are most beneficial in applications which spend a lot of time blocked on IO. How much they benefit your own application will need to be benchmarked and measured, but they are relatively easy to enable so you can run your own small benchmarks before deciding to use them or not.


About the Author: Haoyi is a software engineer, an early contributor to Scala.js, and the author of many open-source Scala tools such as Cask, the Ammonite REPL and FastParse.

If you've enjoy using Cask, or enjoyed using Haoyi's other open source libraries, please chip in (or get your Company to chip in!) via Patreon so he can continue his open-source work


Main Customization
\ No newline at end of file