cirospaciari / socketify.py

Bringing Http/Https and WebSockets High Performance servers for PyPy3 and Python3
https://www.socketify.dev
MIT License
1.44k stars 56 forks source link

Add cache strategy in C to avoid GIL #31

Closed cirospaciari closed 1 year ago

cirospaciari commented 1 year ago

When const string or cached data is possible to respond, add cache interface to never exits C world avoiding GIL

cirospaciari commented 1 year ago

Use an strategy like this for static files using libuv without the need to get into Python GIL

cirospaciari commented 1 year ago

Closed in favor of https://github.com/cirospaciari/socketify.py/issues/60