Live data from Hacker News

Uvloop: Fast Python networking

magic.io

1–10 of 132 posts

Re: Uvloop: Fast Python networking

#4

Are you using this code in production?

I'd say it's not yet ready for production. The test coverage is fairly decent, though, so I hope we'll make a stable release soon.

That said, uvloop should be fully compatible with asyncio. All APIs should be ready, so you can start testing it in your projects.

Re: Uvloop: Fast Python networking

#8
post #2

I'm the dev behind uvloop. AMA.

What are some of the non-obvious limitations/peculiarities one should be aware before using this?

Wherever you use asyncio, it should be safe to just start using uvloop (once we graduate it from beta).

uvloop shouldn't behave any differently, I've paid special attention to make sure it works exactly the same way as asyncio (down to when its objects are garbage collected).

Re: Uvloop: Fast Python networking

#9
post #6
post #2

I'm the dev behind uvloop. AMA.

> at least 2x faster than nodejs, gevent, as well as any other Python asynchronous framework I did not see any benchmarks in the repo to support this. How was this statistic determined?

The benchmark (simple echo server) results were right there in the blog post:

http://magic.io/blog/uvloop-blazing-fast-python-networking/t...

Re: Uvloop: Fast Python networking

#10
post #6
post #2

I'm the dev behind uvloop. AMA.

> at least 2x faster than nodejs, gevent, as well as any other Python asynchronous framework I did not see any benchmarks in the repo to support this. How was this statistic determined?

For benchmarks we have a separate project on the GH: [1] -- you can run the benchmarks on a Linux box pretty easily. Here's an example output: [2]

[1] https://github.com/MagicStack/vmbench [2] http://magic.io/blog/uvloop-blazing-fast-python-networking/t...

Post reply on HN