The Pulsar source code contains several examples:
- A Pulsar port of the canonical Erlang ping-pong example, and one that uses registration, as in this Erlang example.
- A simple example, used in the user manual, of selective receive.
- The same example, only using
gen-server
. - A Pulsar port of this example from the book Learn You Some Erlang for great good!
- An example of using gloss for binary-buffer matching.
- A Pulsar ring benchmark with actors.
- A Pulsar ring benchmark with promitive channels.
- A Pulsar full-graph benchmark where all actors ping and pong with all other actors.
In addition, the test suite contains many more small examples.