@bascule clearly… bitten by this with celluloid+mongoid... see https://github.com/mongoid/mongoid/issues/2369#issuecomment-12222678 …
-
-
-
@etaque heh, fun. I'll see if I can get the thread local propagator working :| -
@bascule dou you have any lead for a temp thread local propagation impl. on my side? -
@etaque after Mongoid sets up the thread local, you can stash it in an ivar, then set it again before you use it :| -
@bascule marvelous! totally hackish but it works great. Thanks! Thread.current["mongoid]:sessions"] = @… -
@etaque working on a real, permanent solution literally right now
End of conversation
New conversation -
-
-
-
@godfat@_ko1 yeah,@tenderlove added that. They were trying to backport it for Rails 4. There's some issues with@JRuby :| -
@bascule@_ko1@tenderlove@jruby i wonder if it would be easier just forget about fibers..? -
@godfat@_ko1@tenderlove@jruby I still have an as-yet-incomplete thread-based task implementation -
@bascule@_ko1@tenderlove@jruby i thought it's already complete. umm, i should really try out sidekiq soon.
End of conversation
New conversation -
-
-
@bascule Fibers - You're Gonna Have a Bad Time™ - End of conversation
New conversation -
-
-
@bascule Is there a use case for fibers beyond “I am afraid of threads”? Fibers confound me. -
@mojinations Fibers are coroutines. Celluloid uses them to perform internal pipelining inside of actors (which are 1:1 with threads)
End of conversation
New conversation -
-
-
@bascule Here I am whining about Ruby and JS version standards and you're dealing with real shit. :/ -
@krainboltgreene craaaaaazy workarounds! https://github.com/reinh/statsd/issues/34#issuecomment-12278570 …
End of conversation
New conversation -
-
-
@bascule fibers are cheating / cheated in rubyThanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.