Details
-
Type:
New Feature
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 4.3.0
-
Fix Version/s: 5.4.0
-
Component/s: Persistence
-
Security Level: Public
-
- Environment:
- -
Issue Links
| Depends | |||||||
|---|---|---|---|---|---|---|---|
|
|
||||||
Activity
| Field | Original Value | New Value |
|---|---|---|
| Status | New [ 10000 ] | Open [ 10002 ] |
| Priority | Major [ 3 ] | |
| Assignee | Christophe DENEUX [ cdeneux ] | Victor NOËL [ vnoel ] |
| Link |
This issue blocks |
| Summary | Introduce persistence in DeliveryChannel | Introduce a mechanism to handle a lot of messages in the DeliveryChannel |
| Description |
Currently, when many messages are put in a DeliveryChannel and the component does not take the messages, the size of the DeliveryChannel will grow until there is no more memory available.
In order to avoid that, currently, the CDK will drop messages when there is an excess (see We should introduce a mechanism for the queue to be persisted: instead of using memory (maybe after a threshold to not impact performance in normal conditions) the messages would be persisted to disk. Note that persisting to disk using things like memory mapped files is very efficient and writing to disk all the time could be acceptable actually. Special attention should be given to the handling of special situations such as JVM crashing and restoring of state after restart. |
Currently, when many messages are put in a DeliveryChannel and the component does not take the messages for any reasons, the size of the DeliveryChannel will grow until there is no more memory available.
Currently, no protection exists to avoid that. We should introduce a mechanism for the queue to be flushed on disk: instead of using memory (after a threshold to not impact performance in normal conditions) the messages would be stored on disk. Note that persisting to disk using things like memory mapped files is very efficient and writing to disk all the time could be acceptable actually. Special attention should be given to the handling of special situations such as JVM crashing and restoring of state after restart. |
| Fix Version/s | 5.0.1 [ 10579 ] |
| Link | This issue blocks PETALSDISTRIB-146 [ PETALSDISTRIB-146 ] |
| Link |
This issue depends on |
| Link |
This issue depends on |
| Fix Version/s | 5.0.2 [ 10661 ] | |
| Fix Version/s | 5.0.1 [ 10579 ] |
| Link | This issue blocks PETALSCDK-175 [ PETALSCDK-175 ] |
| Link |
This issue blocks |
| Fix Version/s | 5.0.2 [ 10661 ] | |
| Fix Version/s | 5.0.3 [ 10670 ] |
| Fix Version/s | 5.1.1 [ 10764 ] | |
| Fix Version/s | 5.1.0 [ 10670 ] |
| Assignee | Victor NOËL [ vnoel ] | |
| Fix Version/s | 5.2.1 [ 10877 ] | |
| Fix Version/s | 5.2.0 [ 10764 ] |
| Fix Version/s | 5.4.0 [ 11131 ] | |
| Fix Version/s | 5.3.0 [ 10877 ] |