Gabriele
Gabriele

Reputation: 468

Python actor model: thespian vs pykka

I want to play around with actors in python. Apparently, the two most popular alternatives are thespian and pykka. I'm looking for something actively developed and easy to use.

Which would you recommend and why?

Upvotes: 6

Views: 2292

Answers (1)

Yoav Glazner
Yoav Glazner

Reputation: 8066

I'm have used pykka in the past a few times and here is my take:

pykka is simple lean and elegant, if you only need Threads/Greenlets its a fine choice

thespian looks a bit more complex but does support multi-proc and clustering so if you need those, it's your match

Upvotes: 6

Related Questions