Thread based scheduler on top of jruby-rack