spring-webflow icon indicating copy to clipboard operation
spring-webflow copied to clipboard

Add ability to monitor continuation limit overflow [SWF-171]

Open spring-operator opened this issue 18 years ago • 1 comments

Alex Antonov opened SWF-171 and commented

Add an ability to somehow to get a visibility into the number of continuations that the ContinuationFlowExecutionRepository has or to find out when that limit is reached. We have some requirements to have monitoring of the cases where the number of continuations reaches the limit, but there is no public getContinuationsCount() method available, nor is it possible to get to the FlowExecutionContinuationGroup, since its getter is protected.


Affects: 1.0 RC4

Issue Links:

  • #122 Add the ability to monitor in-progress flow executions with JMX ("depends on")

3 votes, 4 watchers

spring-operator avatar Aug 31 '06 06:08 spring-operator

Jim Gehrett commented

It would be nice if the class that managed the continuations (currently FlowExecutionContinuationGroup) was an interface with the ability to inject our own implementation for a couple of reasons.

  1. We would be able to easily add monitoring when we have reached the continuation queue limit
  2. We would be able to use a different algorithm for what continuations get removed when the limit is reached

The current implementation is a FIFO queue. In our case the first couple continuations are the most significant. Removing those has the potential to break our booking process.

spring-operator avatar Aug 17 '07 05:08 spring-operator