Hi,

2013/5/3 Can Zhang <[email protected]>:

> Today I update ryu to 1.9 and find that ryu substitutes gevent with eventlet. 
> Some of my applications don't work now since they import and use gevent 
> explicitly.

I think that 1.9 still use gevent. This is kinda big change so I'm
thinking about updating major number.

> So how could I modify my program to the new eventlet API?

It depends on the way you use gevent. I don't think that there are not
many applications that need to use gevent directly. I would recommend
you not to do such. Eventlet and gevent APIs are very similar anyway.

> And just curious, why do you use eventlet instead?

I thought that I explained in the past but probably I didn't. Sorry.

The main reason is OpenStack uses eventlet. When we deploy Ryu with
OpenStack, using two different async frameworks is pain. Also
'comercial' Linux distributions such as RHEL and SUSE support
OpenStack. It means such distributions support eventlet rather than
gevent.

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to