> Seriously awesome! I guess it owes to the simplicity of Ring's spec.
Hi, (i am the main author of the uWSGI project), yes the Ring specs have been really enlightening for me. Thanks to them i have managed to built a more sane JVM plugin exporting the minimal amount of features and with solid multithreading support. In addition to this i have based the low-level JWSGI request handler fully on Ring throwing away the old specs (from 2010...): http://uwsgi-docs.readthedocs.org/en/latest/JWSGI.html > > I think this will make threading easier with something like Jython on > uWSGI. currently JVM threads can safely co-exist with CPython threads, see here: http://uwsgi-docs.readthedocs.org/en/latest/Ring.html#accessing-the-uwsgi-api as well as with lua, Mono and Go threads (the other supported languages have basically no threads support) Obviously the python GIL is always there but java threads are not touched by it (unless they are making call to the python vm via the uWSGI rpc subsystem) > Any comments on how JVM support can be used for better multithreading? Honestly i have only investigated groovy and scala support (as you can see in the JWSGI docs) but i suppose jython (or jruby) can be adapted pretty easily (even if dynamic languages are harder to adapt to java objects and conventions) By the way, the Ring plugin should be fully usable, what it lacks (or better, what the JVM plugin lacks) is full acces to the uWSGI api. Currently only rpc, signals and a couple of random functions are exposed. (I think caching will be the next area of interest) -- Roberto De Ioris http://unbit.it -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.