freeze/thaw an FSM instance

28 views
Skip to first unread message

Matt O

unread,
Feb 28, 2013, 7:17:32 PM2/28/13
to scio...@googlegroups.com
Hi, Jacob,

This is possibly similar to [1] from 7/23/2012.

We'd like the ability to save an idle FSM to persistent storage and to restore it at some point in the future with the same configuration and data model.

Any thoughts on how to achieve this with SCION present and/or future?

Reasonable to expose a pair of companion APIs that a) export the data model and the current state configuration to a JSON blob and b) create a new engine instance given the model and output from (a)?

Other approach?

Regards,
Matt

[1] https://groups.google.com/forum/?fromgroups=#!topic/scion-dev/5ClvNx8mGb4

Jacob Beard

unread,
Mar 4, 2013, 8:17:36 PM3/4/13
to scio...@googlegroups.com
Hi,

Sorry, the reply got mangled, so I'm not sure if you saw it. If you did, please disregard. For completeness, I've reposted it here.

This feature has come up a few times, and it's on my to-do list. I actually wrote up some documentation about how this would be implemented, which you can read here: https://github.com/jbeard4/SCION/wiki/Serialization-Deserialization-of-%22snapshots%22

Changes made to SCION following these guidelines would be mostly forward-compatible with SCION-ng.

I would estimate that this is only about a day of work to implement, but given the constraints of my current schedule, I think that it might be a few weeks before I'll be able to get to this. Patches are of course welcome.

Let me know if you have any questions. Thanks,

Jake

Jacob Beard

unread,
Mar 4, 2013, 8:17:55 PM3/4/13
to scio...@googlegroups.com
Also, do let me know if you start work on this, as I do plan to implement this soonish, and I'd prefer if our effort doesn't overlap.

Thanks,

Jake

MattO

unread,
Mar 4, 2013, 8:28:57 PM3/4/13
to scio...@googlegroups.com
Thanks for capturing the details in your wiki. I'll be sure to ping you if I take this on. I'm in the middle of a completely unrelated task at the moment but couldn't help but think about SCXML/SCION during a random idle moment. Must be all the recent W3C activity and your recent blog posting about your NG efforts.

Best,
Matt


--
You received this message because you are subscribed to the Google Groups "scion-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scion-dev+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Jacob Beard

unread,
Mar 4, 2013, 8:30:58 PM3/4/13
to scio...@googlegroups.com

Sounds good.

Best,

Jake

Reply all
Reply to author
Forward
0 new messages