Use the fastest installed zlib compatible library with aiohttp
Low maintenance activity. Last release 18 months ago, commits in 1 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install aiohttp-fast-zlibUse the fastest installed zlib compatible library with aiohttp
Low maintenance activity. Last release 18 months ago, commits in 1 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install aiohttp-fast-zlibUse the fastest installed zlib compatible library with aiohttp
zlib is be a bottleneck for aiohttp, especially for websocket connections. aiohttp-fast-zlib replaces usage of zlib in aiohttp with isal or zlib-ng which is a drop-in faster replacement in most cases. Be sure to read the isal documentation and the zlib-ng documentation.
Install this via pip (or your favourite package manager):
pip install aiohttp-fast-zlib[isal]
pip install aiohttp-fast-zlib[zlib-ng]
import aiohttp_zlib_fast
# isal is preferred over zlib_ng if it is available
aiohttp_zlib_fast.enable()
aiohttp_zlib_fast.enable()
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!
This package was created with Copier and the browniebroke/pypackage-template project template.
Use together with aiohttp-fast-zlib: extensions, drivers, servers and companion tools.