|
|
|
|
|
by justinsb
4517 days ago
|
|
I noticed that you send the "native threading" case through your library as well. Have you compared to just using "naive" Java - Threads and a BlockingQueue? Also: if the Google patches for the user-mode threading are adopted, will Quasar have any advantages over a JVM that uses the same syscalls? Can you explain where this would come from? I think what you've done is genuinely cool, I'm just trying to better understand what the 10x advantage actually comes from. |
|
If user-mode threading is adopted, Quasar could work without instrumentation, but instrumentation is a very small part of the Quasar code base.
Quasar gives you the scheduler, channels, actors, etc.
The 10x performance boost comes from the fact that there can be non-negligible latency from the time you unpark a thread to the time it starts running, while for fibers that latency is much shorter.