[cx-oracle-users] Re. Greenlet compatibility for cx_oracle?
Brought to you by:
atuining
From: Jerry S. <jsp...@gm...> - 2010-09-27 19:21:51
|
Amaury Forgeot wrote: > I'm afraid it will be difficult to do the same > with Oracle. psycopg does have an asynchronous > mode where all commands are nonblocking. > > Oracle has nothing like this. OCIStmtExecute() > is a blocking call, and won't play nicely with > Greenlets. Asynchronous framework like twisted > execute Oracle queries in a dedicated thread. > Maybe you could do the same. It looks like Eventlet's db_pool is a similar feature to the one in Twisted. We'll start looking there for a solution. Thanks for the prompt reply! Jerry S. |