Project Loom - A Friend or Foe of Reactive?
summary
Claims that Project Loom does not replace reactive programming but makes it simpler, with concrete examples: an IoT sensor app where one line—swap ExecutorService for VirtualThreadPerTaskExecutor—turns blocking calls cheap; use of StructuredTaskScope for scoped joins and timeouts learned in about an hour; adapting Tomcat to run virtual threads for blocking DB calls; and a proposal to add a virtual-thread scheduler to Reactor (publishOn) so flatMap stays concurrent without thread explosions. Experiments are ongoing but integration proves Loom complements Reactor, not kills it.
AI-written summary · about
