Python actor model: thespian vs pykka
Asked Answered
I

1

6

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?

Interrupt answered 14/10, 2018 at 11:11 Comment(2)
Unless you are asking for a very specific technical difference the choice of two different libraries is an opinion based question and off-topic on SO.Flatfish
Thanks @KlausD. I'm interested in a comparison between the two libraries, could you please suggest any edits to make the question not OT?Interrupt
A
6

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

Arabele answered 6/1, 2020 at 21:13 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.