Documentation for pulsar 0.5.0. For development docs, go here.

FAQ

This is a list of Frequently Asked Questions regarding pulsar.

General

Is pulsar another twisted?

No, pulsar is a concurrent framework based on Actor primitives, check the design documentation for more information. Twisted is a library which can be used to write a pulsar equivalent and it has a vast array of protocols which pulsar will never have. However, pulsar and twisted have in common the pulsar.Deferred implementation. You can use twisted protocols within pulsar if you like, check pulsar & twisted integration for more information.

Socket Servers

Can I run a web-server with multiple process?

Yes you can, in posix always, in windows only for python 3.2 or above. Check wsgi in multi process.

WSGI Server

Is pulsar WSGI server pep 3333 compliant?

Yes it is, to the best of our knowledge. If you find an issue, please file a bug report.

Is a WSGI response asynchronous?

It depends on the WSGI application serving the request.

Tips

Pause execution asynchronously

Within a coroutine you can pause execution by using the pulsar.async_sleep() function. The function switches task and resumes the coroutine after timeout seconds.