Speedup communication by handling keep-alive properly
Closes: #42 (closed)
Store single aiohttp.ClientSession - make benefit from keep-alive
HTTP feature provided by some proxy servers like jussi
When communicating with https://api.hive.blog
, during 1 min test (~40 calls) to UpdateNodeData, I got interesting results - during data harvesting phase:
- avg in ~0.46s with these changes
- while it was ~0.77s before.
For more info look into Store single ClientSession - make benefit from keep-alive providden by some proxy like jussi to work
description.
Edited by Mateusz Żebrak