Skip to main content

Posts

Showing posts with the label stackless

Syncless Non blocking WSGI server and networking library for Stackless Python

Syncless Non blocking WSGI server and networking library for Stackless Python This blog post is a release announcement of the software named Syncless Ive been developing recently for high-performance, low-memory, single-process, single-threaded, lock-free network communication (TCP/IP client and server) in Python, using coroutines for apperent parallel processing. I needed something which needs less memory than pre-forking worker instances, but doesnt require complicated and error-prone synchronization mechanisms (such as mutexes in a multi-threaded program). Syncless is an experimental, lightweight, non-blocking (asynchronous) client and server socket network communication library for Stackless Python 2.6. For high speed, Syncless uses libevent, and parts of Syncless code is implemented in C (Pyrex). Thus Syncless can be faster than many other non-blocking Python communication libraries. Syncless contains an asynchronous DNS resolver (using evdns) and a HTTP server capable of serving ...