[
https://issues.apache.org/jira/browse/SCXML-252?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ate Douma updated SCXML-252:
----------------------------
Priority: Minor (was: Major)
> support using it for sessions.
> ------------------------------
>
> Key: SCXML-252
> URL: https://issues.apache.org/jira/browse/SCXML-252
> Project: Commons SCXML
> Issue Type: New Feature
> Affects Versions: 2.0
> Reporter: murray hughes
> Priority: Minor
>
> It would be nice to support a number of scinstances with the same scxml and
> replicate them across a cluster. The key to success with cluster replication
> is getting the serialized size right down. Ideally under 1.4k.
> To check, I started a microwave-01.scxml, called detachInstance(), serialized
> the resulting SCInstance, and measured its size. It was greater than 10KB.
> To get this in perspective, the microwave-01.scxml has just a few variables
> and states. In theory this could be stored in less than 100 bytes.
> Half of the 10k was the sxcml object. We should be able to separate that
> because they are the same/shared between multiple scinstances. Unsure what
> is using the remaining 5K, but can it all be removed from the
> detatched/serialized scinstance? Just leave the states and contexts?
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)