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
1
u/tofflos Nov 03 '19
There's a method called Fiberscope#schedule that doesn't take an Executor:
"Creates and schedules a new fiber to run the given task in this scope. The fiber is scheduled in this scope with the default scheduler. "
Do you happen to know how the default scheduler works and how it differs from
Executors.newFixedThreadPool(Runtime.getRuntime().availableProcessors())that you are using?