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

Ron Pressler ron.pressler at gmail.com
Tue Feb 11 18:51:42 EST 2014


Sure. Take a look at Comsat, which currently provides fiber-aware implementations of servlets, JAX-RS (server and client) and JDBC.
Also, the previously linked blog post explains how to transform any asynchronous operation into a fiber-blocking one.


On February 10, 2014 at 4:57:40 PM, Jan Kotek (discus at kotek.net) wrote:

Hi,  

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  

_______________________________________________  
Concurrency-interest mailing list  
Concurrency-interest at cs.oswego.edu  
http://cs.oswego.edu/mailman/listinfo/concurrency-interest  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cs.oswego.edu/pipermail/concurrency-interest/attachments/20140212/70c91d65/attachment.html>


More information about the Concurrency-interest mailing list