What is paragram?

Paragram is an erlang-style concurrency framework for python. This is also known as an actor-based concurrency model, as it consists of multiple independent actors sending messages to each other.

Paragram started as a fork of candygram adding true concurrency using threads and processes, but diverged enough to become its own library.


Paragram is not (currently) performant for large numbers of processes. It does well enough with threads, but starting more than a handlful of processes will cause delays when spawning, because of the large number of inter-process objects. This will hopefully be fixed in the future, but you should be aware of it.

If you need performance, I suggest trying candygram, which features lightweight tasklets instead of threads or OS processes.

Indices and tables

Table Of Contents

Next topic


This Page