Circo-dev / Circo.jl

A distributed computing platform, designed to scale to millions of nodes and providing metaphoric abstractions.
GNU Lesser General Public License v3.0
2 stars 1 forks source link

Component api cleanup #8

Closed tisztamo closed 4 years ago

tisztamo commented 4 years ago

Some other work on the public api is also included here:

Start = Message{Nothing}
machine(Start())

As we strive for full distribution, providing a single point of contact to a whole actor system may seem inadequate. The idea is that the system builds itself up from a single spawn provided to the Machine() constructor, as in the actor-tree example. The Start message is just the token for event-based scheduling. The machine() call finishes when the system is built and ready. Signals sent later (if any) may be delivered to different actors using a yet-to-be designed mechanism.