| 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. | |