Skip to content

Recreating an Actor's state at a point in time #1

@ghost

Description

First apologies for posting here, but I can't find any forums for engaging in general Q&A regarding the pure actor model.

Are you aware of such a venue?

My immediate question which I can't find an answer for, is in the pure actor model is the behavior of an actor deterministic, given the initial actor state upon creation and a fixed set of input events. (I am assuming that on each rerun of the event stream that the events arrive in the same order, although the initial order would have been indeterminate).

I'm thinking back to CSP, where over time a process can be defined by it's state graph or by the event stream over the same period of time.

The reason for asking is that I want to be able to recreate an actors state at any point in time (to support process restart and timeline replay), and the information I currently have is the event stream of events arriving at the actor and the events generated by the actor. If an actors behavior is deterministic, I can recreate it's state at any point by re-instantiating a new actor in the same state and replaying the input event stream.

If an actors behavior is non deterministic for the same initial state and event stream I would need to persist the actors state after each event has been processed.

Andy

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions