question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Use uvloop instead

See original GitHub issue

This is full of wonderful hype: http://magic.io/blog/uvloop-blazing-fast-python-networking/

It says it’s a drop-in replacement to the asyncio main loop that’s supposed to be a bit faster.

Can muffin use this?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
drgarcia1986commented, May 10, 2016

You can pass any loop to muffin.Application:

app = muffin.Application('example', loop=my_uvloop)
0reactions
drgarcia1986commented, Jul 20, 2016

No problem I try to make some benchs in next days

Read more comments on GitHub >

github_iconTop Results From Across the Web

uvloop — uvloop Documentation
uvloop is a fast, drop-in replacement of the built-in asyncio event loop. uvloop is released under the MIT license. uvloop and asyncio, combined...
Read more >
asyncio event loop equivalent with uvloop - Stack Overflow
I enthusiast to looking for an equivalent of the following example using uvloop instead. Here's a simple asyncio event loop example:
Read more >
MagicStack/uvloop: Ultra fast asyncio event loop. - GitHub
uvloop is a fast, drop-in replacement of the built-in asyncio event loop. uvloop is implemented in Cython and uses libuv under the hood....
Read more >
Exploring Asyncio - uvloop, sanic and motor - masnun.rocks()
We will swap out the default event loop and use uvloop instead. import asyncio import uvloop asyncio.set_event_loop_policy(uvloop.
Read more >
I'm the dev behind uvloop. AMA. - Hacker News
3) asyncio/uvloop require you to use explicit async/await. ... all the way down to the http socket is async, using callbacks instead of...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found