Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Pulsar: Concurrent framework for Python (pythonhosted.org)
144 points by rbanffy on Oct 13, 2013 | hide | past | favorite | 13 comments


Ha, funny but there is concurrency library (actors, CSP) for Clojure with the same name. http://puniverse.github.io/pulsar/


Finally a concurrency framework that works with Python 3! I will definitely have to check this out, because Twisted is the only thing preventing me from switching (and Gevent doesn't support it either).


The porting process is slow but sure, fortunately. Some parts already work. It'd be cool if we stopped hitting broken stdlib functions. (Turns out that sometimes regular quotes did actually mean bytestrings.)


What about concurrent.futures from standard library?


It's not really a concurrency framework, just some tooling. It does absolutely nothing to provide evented-IO for example.


Interesting! Seems like a hyper-framework, a one-fits-all solution for a python backend. I would like to see any benchmarks comparing this to tornado/twisted/nodejs and perhaps an async mongoDB client implementation. Great work anyway!


Indeed, I've only taken a quick look, but I like what I see!

Speaking of benchmarks, we'd be very happy to receive a pull request [1] with a test implementation if anyone is interested.

[1] https://github.com/TechEmpower/FrameworkBenchmarks/


Thinking about new tech in term of performance is silly. If you need performance NOW just stick with the known solution because odds are you also need stability and a well tested platform.


No, it's not. It's a good indicatior of how performant the framework is likely to be in the future, in the context of ballparks.

For example, if this version already is as quick as comparable software written in C, you know that chances are that it will be even faster in the future and not slower. If it uses an hour to open a port and send a package, that doesn't bode well for future development.


1) Are known solutions always performant (which is a broad topic)?

2) "I would like to see any benchmarks comparing this to..." != "I only care about performance and nothing else matters"


Will work on Google app engine?


Semiofftopic: Animated favicons are evil. Can't just leave the tab open to take a look at a later time.


Fair enough, I've replaced it with a static icon.

http://pythonhosted.org/pulsar/index.html




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: