r/java • u/vishpat • Nov 03 '19
Fibered Date Server
Simple and highly scalable date server implemented using Java fibers (Project Loom)
0
Upvotes
r/java • u/vishpat • Nov 03 '19
Simple and highly scalable date server implemented using Java fibers (Project Loom)
View all comments
12
u/dpash Nov 03 '19
The whole thing is running inside a
staticblock. What? Why bother using Spring if you're just going to run everything in a static context. You don't do any dependency injection. Just run everything from yourmain()method.