Re:Scaling to ~15K requests per second with Java – Part 1
by kapperchino on Friday July 14, 2023 @10:15AM
(#36724337)
+1 to this, reactive programming is a major pain in my ass. With virtual threads there’s no longer a need for them.
Re:Scaling to ~15K requests per second with Java – Part 1
by p2detar on Friday July 14, 2023 @10:39AM
(#36724644)
* * *
Re:Scaling to ~15K requests per second with Java – Part 1
by Lightbody on Friday July 14, 2023 @10:43AM
(#36724715)
Just curious -- have you personally confirmed this?
Not trying to cast doubt... just noting that I have exactly the same feelings (hopes?) but I have yet to personally confirm it, in large part because it's not yet fully GA so we haven't jumped in with our production workloads.
Re:Scaling to ~15K requests per second with Java – Part 1
by kitd on Friday July 14, 2023 @10:45AM
(#36724742)
There's quite a few Java frameworks and libraries that will need to re-evaluate their existence (or at minimum, their core APIs) when green threads become popular.
Re:Scaling to ~15K requests per second with Java – Part 1
by kitd on Friday July 14, 2023 @03:02PM
(#36728440)
Apologies replying to myself, but Netty, which underpins many of the popular Java backend frameworks, see backward compatibility as more important than supporting green threads.
https://github.com/netty/netty/issues/12816
It'll be interesting to see who (if anyone) picks up Netty's mantle in the Project Loom world.
Re:Scaling to ~15K requests per second with Java – Part 1
by sonicgear1 on Friday July 14, 2023 @11:13AM
(#36725139)
Quarkus beats the crap out of Spring in every possible aspect, perf, DX, you name it.
Re:Scaling to ~15K requests per second with Java – Part 1
by willsmith72 on Friday July 14, 2023 @12:03PM
(#36725893)
hard disagree on DX, which part of it do you find better with Quarkus?
Re:Scaling to ~15K requests per second with Java – Part 1
by richbell on Friday July 14, 2023 @12:30PM
(#36726259)
DevTools is a big one.
Re:Scaling to ~15K requests per second with Java – Part 1
by reactor on Friday July 14, 2023 @08:55PM
(#36732017)
Not OP, but as someone who has used Spring quite extensively (6+ yrs) in the past and using Quarkus for all project these days, DX is much better with Quarkus.
Hot reloading (to the extend that change-save-refresh would feel like working with a python/ruby projects), shallow stack traces, less 'magic', , excellent documentation, plethora of modules, less memory footprint, milliseconds start/restart (owing to compile time wiring), first class container support, dev tools, always running tests are few that makes DX with Quarkus amazing.
Reactive programming introduces complexity, one which may not be needed in the future due to improved core tech.