Petals ESB Container

Introduce a mechanism to handle a lot of messages in the DeliveryChannel

Details

  • Type: New Feature New Feature
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: 4.3.0
  • Fix Version/s: 5.4.0
  • Component/s: Persistence
  • Security Level: Public
  • Description:
    Hide

    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.

    Show
    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.
  • Environment:
    -

Issue Links

Activity

Transition Status Change Time Execution Times Last Executer Last Execution Date
New New Open Open
12s
1
Victor NOËL
Fri, 19 Jun 2015 - 16:43:38 +0200

People

Dates

  • Created:
    Fri, 19 Jun 2015 - 16:43:26 +0200
    Updated:
    Thu, 13 Apr 2023 - 17:03:34 +0200