Tech notes/pykka and the actor model

First published:

Last Edited:

Number of edits:

There a Python package called PyKKA that implements the actor model (at least a part of what Akka did for the JVM).

One important caveat is that PyKKA is designed to work in threads, therefore the usability to increase performance is limited. What is interesting is that there's a heavy use of typing in order to identify the type of actor created and message passed.

The code base seems very straightforward, taking care of the boilerplate needed to get messages, handling exceptions, call backs, etc. The fact that it is designed to work on a single-process limits the range of use-cases I can envision for this library.

The question is whether the actor model itself is a useful model for instrumentation software.


Backlinks

These are the other notes that link to this one.

Comment

Share your thoughts on this note
Aquiles Carattino
Aquiles Carattino
This note you are reading is part of my digital garden. Follow the links to learn more, and remember that these notes evolve over time. After all, this website is not a blog.
© 2021 Aquiles Carattino
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License
Privacy Policy