Skip to content

Instantly share code, notes, and snippets.

🎯
eggache ? yes, eggache !

fengyun.rui rfyiamcool

🎯
eggache ? yes, eggache !
Block or report user

Report or block rfyiamcool

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@rfyiamcool
rfyiamcool / redis_asyncio.py
Created May 4, 2017 — forked from yihuang/redis_asyncio.py
benchmark gevent vs asyncio on python3.4
View redis_asyncio.py
import asyncio
import hiredis
d = {}
def process(req):
cmd = req[0].lower()
if cmd==b'set':
d[req[1]] = req[2]
return b"+OK\r\n"
You can’t perform that action at this time.