Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-14644

Make all attributes of ProcessDefinitionEntity deploymentCache as Serializable

    • Icon: Feature Request Feature Request
    • Resolution: Won't Fix
    • Icon: L3 - Default L3 - Default
    • None
    • 7.18.0-alpha1
    • engine

      User Story (Required on creation):

      We allow our customers to design many processes(can easily exceed 50+ ) using our process designer and allow different process persona's to instantiate and interact with those processes during runtime. We make use of camunda process engine - 7.17

      Camunda Process engine makes use of in-memory LRU cache for following Deployment metadata.

      protected ProcessDefinitionCache processDefinitionEntityCache;
      protected CaseDefinitionCache caseDefinitionCache;
      protected DecisionDefinitionCache decisionDefinitionCache;
      protected DecisionRequirementsDefinitionCache decisionRequirementsDefinitionCache;
      protected BpmnModelInstanceCache bpmnModelInstanceCache;
      protected CmmnModelInstanceCache cmmnModelInstanceCache;
      protected DmnModelInstanceCache dmnModelInstanceCache;

      As you know, this in-memory cache is backed up by DB persistence.  We are using distributed cache (Memcache with near and remote cache) for -

      1) Better management of memory footprint.  Deploying many processes, results in high memory usage, and we want to govern size of in-memory cache using nearCache/remoteCache  of Memcache. 

      2)Any un-deployment of process gets sync-up on all nodes. Invalidation of cache get sync-up on all nodes.

       

      Functional Requirements (Required before implementation):

      We allow our customers to design many processes(can easily exceed 50+ ) using our process designer and allow different process persona's to instantiate and interact with those processes during runtime. We make use of camunda process engine - 7.17

      Technical Requirements (Required before implementation): 

      Make all attributes of DefinitionEntities and ModelInstance Entitities used by above deployment caches, to implement Serializable interface, so that we can use above entities in distributed cache implementation like Memcache.

       

       Limitations of Scope (Optional):

      Hints (optional):

        This is the controller panel for Smart Panels app

            [CAM-14644] Make all attributes of ProcessDefinitionEntity deploymentCache as Serializable

            Hi suhas-kulkarni,

            Thank you for coming up with a feature proposal.
            To better understand your goals could you please elaborate on the following questions?

            • What is your exact use case?
            • What would making those attributes serializable allow you to do that you can not do right now?
            • How do you plan to use Memcached with Camunda?

            Please give as much information as you can. We need to fully understand your feature request before we can decide if it would make sense for a broader userbase to have.

            Best,
            Miklas

            Miklas Boskamp added a comment - Hi suhas-kulkarni , Thank you for coming up with a feature proposal. To better understand your goals could you please elaborate on the following questions? What is your exact use case? What would making those attributes serializable allow you to do that you can not do right now? How do you plan to use Memcached with Camunda? Please give as much information as you can. We need to fully understand your feature request before we can decide if it would make sense for a broader userbase to have. Best, Miklas

            I have updated the same above. Let  me know if still unclear? 

            Suhas Kulkarni added a comment - I have updated the same above. Let  me know if still unclear? 

            We are closing this ticket as part of our backlog grooming. Reasons:

            • It is very unlikely that we will implement this
            • We did not receive sufficient evidence that this ticket is important
            • The ticket description is not clear

            Thorben Lindhauer added a comment - We are closing this ticket as part of our backlog grooming. Reasons: It is very unlikely that we will implement this We did not receive sufficient evidence that this ticket is important The ticket description is not clear

              miklas.boskamp Miklas Boskamp
              suhas-kulkarni Suhas Kulkarni
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: