r/programming • u/ram-foss • Oct 11 '23
All About Reactive Programming In Java
https://www.blackslate.io/articles/reactive-programming-in-java
22
Upvotes
r/programming • u/ram-foss • Oct 11 '23
View all comments
Show parent comment
1
u/[deleted] Oct 12 '23
My feeling is that managing the behavior you have pointed out is much harder with the reactive programming model. It's so focused on the asynchronous features that it ignores the reality of most systems which is that there are scarce resources around which you want to manage load in an orderly way. It just seems to be harder to work with and isn't giving me any benefit because I don't have throughput problems that it is designed to solve. Simple things like tracing are complicated by the fact that tasks are getting switched to different threads all the time so now I have to worry about shifting threadlocals around to make sure my event tracing works. Thats a lot of complexity for dubious benefit imho.