[concurrency-interest] Implementing, Abstracting and Benchmarking Lightweight Threads on the JVM

Jan Kotek discus at kotek.net
Mon Feb 10 09:52:32 EST 2014


I experimented with Kilim micro-threads a few years ago. 

Is there a plan to provide full stack based on lightweight threads? I mean 
webserver, IO utils and database where all IO operations would use lightweight  
non-blocking operations. 

I think I could modify MapDB for this stack. I already have some non-blocking 
prototype based on AsynchronousFileChannel 

All best,
Jan Kotek

On Thursday, February 06, 2014 19:08:55 Ron Pressler wrote:
> Hi.
> I've just published a blog post called Implementing, Abstracting and
> Benchmarking Lightweight Threads on the
> JVM<http://blog.paralleluniverse.co/2014/02/06/fibers-threads-strands/>,
> which describes Quasar <https://github.com/puniverse/quasar>'s
> implementation of lightweight threads.
> In particular, it explains how we've adapted some of java.util.concurrent's
> classes to work for both (plain) threads and fibers (Quasar lightweight
> threads), by combining both into an abstraction called
> strands<http://docs.paralleluniverse.co/quasar/javadoc/co/paralleluniverse/s
> trands/Strand.html> .
> I thought some people here might find it interesting.
> Ron

More information about the Concurrency-interest mailing list