Forums | Admin

Discussion Forums: help

Start New Thread Start New Thread
Message: 96674
BY: Michael Peteuil (mpeteuil)
DATE: 2011-06-24 02:39
SUBJECT: RE: Eventmachine compatibility


Hey Aaron,

I appreciate the response. While this may work (I have not tested it... yet) I don't think it's ideal. Since EM defer delegates your task to a separate EM thread (not on the main reactor thread) this also means that whatever is being executed through defer should be thread safe (unless I'm mistaken) which could potentially result in a mess. I'd really like to just use the EM deferrable module to use callbacks, but I think the current ruby-oci8 does not support the asynchronous APIs.

Regardless, I will test your suggestion and try to respond back. Thanks again Aaron.

Thread View

Thread Author Date
Eventmachine compatibilityMichael Peteuil2011-06-19 16:25
      RE: Eventmachine compatibilityAaron Qian2011-06-22 23:52
            RE: Eventmachine compatibilityMichael Peteuil2011-06-24 02:39
                  RE: Eventmachine compatibilityKubo Takehiro2011-06-24 12:09
                        RE: Eventmachine compatibilityMichael Peteuil2011-06-24 14:18
                              RE: Eventmachine compatibilityKubo Takehiro2011-06-26 13:57

Post a followup to this message