adhearsion events processing

November 23, 2010

Sometimes our event processing code can be bit slow and may block adhearsion, wwalker suggests doing something like this (event.dup) { |e|  do_stuff_with e }

i think what launching a new thread for each event that needs processing can be wasteful and even dangerous on MRI, maybe not so in JRuby, will try it and post my results


comments powered by Disqus