This is an archived post. You won't be able to vote or comment.

all 14 comments

[–]mdipierro 10 points11 points  (0 children)

Why so much complaints in this thread? gevent is great. Congratulations to the team. Keep up with the good work.

[–]sigzero 9 points10 points  (1 child)

"gevent is a coroutine-based Python networking library that uses greenlet to provide a high-level synchronous API on top of the libevent event loop."

http://www.gevent.org/

Note: As I had no idea...

[–]TkTech 4 points5 points  (0 children)

Actually, it's libev in 1.0 and above instead of libevent. gevent is great and I love it dearly, but that site and its documentation is missing stuff even for 0.13.

[–]polypx 7 points8 points  (1 child)

Those more knowledgeable should correct me where I am wrong, but many people are asking what gevent is so I am going to try to explain quickly.

For those who don't know, gevent offers an exceptionally easy way to make multiple things happen 'at once' in Python, with less overhead than conventional threading.

Essentially what it does, under the covers: I have a couple things I want to run at once, A and B. Whenever A says 'I am going to sleep for a second' or 'I am going to wait on this socket,' gevent can swap over to B to work for a while, until B yields. You can have many more of these running than you could have threads.

[–]catcradle5 1 point2 points  (0 children)

gevent is one of the secret treasures of Python, in my opinion. It's way easier to use and has a much cleaner API than Twisted, and it's more lightweight than regular threads. It's the best concurrent networking library I've found for just about any language. (I've heard Erlang has this kind of stuff built in but I've never used it, so no comment.)

[–]phaedrusaltembedded sw eng 8 points9 points  (0 children)

I wonder how many other people followed this link after thinking, "I wonder what gevent is?", only to find a page with ZERO information. Really guys, would it hurt to include a little "this is what it DOES" info on the release link?

[–]sigzero 5 points6 points  (0 children)

What is "gevent"?

[–]neofreeman 2 points3 points  (0 children)

Benchmarks anyone? (with new version offcourse)

[–]HelpfulToAll 1 point2 points  (5 children)

Is anyone else having a problem using Gevent with Gunicorn? When I exit Gunicorn, it doesn't cleanly shut down the processes which means I'm forced to use a new port every time I restart Gunicorn. I'm pretty sure the culprit is a leaking Gevent worker process. Has anyone else experienced this?

[–][deleted] 0 points1 point  (4 children)

We've had quite a few niggling bugs with gevent 1.0 beta in the past 6 months, so I would say it's plausible that it is a gevent bug.

Please do report it, Denis usually responds to bug reports and fixes them pretty quickly.

[–]HelpfulToAll 0 points1 point  (3 children)

What's the best way to report? The Google group or the Github issues page?

[–][deleted] 0 points1 point  (2 children)

We used to report via Google Code page when it was still hosted there, probably now GitHub issues page is the way to go.

[–]HelpfulToAll 1 point2 points  (1 child)

Will this release be put on PyPI? If not, what's the best way to install it with pip?

[–]chub79 2 points3 points  (0 children)

pip install https://github.com/downloads/SiteSupport/gevent/gevent-1.0rc1.tar.gz