Uploaded image for project: 'Commons SCXML'
  1. Commons SCXML
  2. SCXML-252

support using it for sessions.

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.0
    • None
    • None

    Description

      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?

      Attachments

        Activity

          People

            Unassigned Unassigned
            murray.hughes murray hughes
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: