- 授权协议: BSD
- 开发语言: Python
- 操作系统: 跨平台
- 软件首页: https://github.com/aio-libs/aiomcache
软件介绍
aiomcache 是极简的 asyncio memcached 客户端。
API
import asyncio
import aiomcache
loop = asyncio.get_event_loop()
@asyncio.coroutine
def hello_aiomcache():
mc = aiomcache.Client("127.0.0.1", 11211, loop=loop)
yield from mc.set(b"some_key", b"Some value")
value = yield from mc.get(b"some_key")
print(value)
values = yield from mc.multi_get(b"some_key", b"other_key")
print(values)
yield from mc.delete(b"another_key")
loop.run_until_complete(hello_aiomcache())
High Performance Python
Andrew Lewis / O'Reilly Media, Inc. / 2010-09-15 / USD 34.99
Chapter 1. Introduction Section 1.1. The High Performance Buzz-word Chapter 2. The Theory of Computation Section 2.1. Introduction Section 2.2. Problems Section 2.3. Models of Computati......一起来看看 《High Performance Python》 这本书的介绍吧!
