News for hackers. Stuff that matters.
Re:Virtual Threads Arrive in JDK 21, Ushering a New Era of C... by haspok on Wednesday April 12, 2023 @08:46AM (#35538769)
Fun fact: JDBC was one of the (if not the most important) blocking APIs that people tried to convert or redesign / reimplement as async, and failed miserably.

Now, with the advent of virtual threads this should no longer be a problem! JDBC can block all day long, and your app will still scale without a problem.

Re:Virtual Threads Arrive in JDK 21, Ushering a New Era of C... by jpgvm on Wednesday April 12, 2023 @09:53AM (#35539688)
Yeah will be good to not need R2DBC or the Rx APIs etc.