Virtual Threads: New Foundations for High-Scale Java Applications

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • preemptible-thread

    How to preempt threads in user space

    This is good.

    I implemented a userspace M:N kernel thread to lightweight thread multiplexer in Java, Rust and C.

    I preempt hot for and while loops by setting the looping variable to the limit from the kernel multiplexing thread.

    It means threads cannot have resource starvation.

    https://github.com/samsquire/preemptible-thread

    The design is simple. But having native support for it is really useful.

  • JDK

    JDK main-line development https://openjdk.org/projects/jdk

    I don't know how they did it, but you could use that jep id as a query in the jdk issue tracker [0], and then use the issue tracker id to find the corresponding github issue [1]. (I had hoped for commits with that prefix, but there don't seem to be any for that issue.)

    [0] https://bugs.openjdk.org/browse/JDK-8277131?jql=issuetype%20...

    [1] https://github.com/openjdk/jdk/pull/8787

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts