Apache S4
  1. Apache S4
  2. S4-99

Provide injectable load shedding mechanism

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.6
    • Labels:
      None

      Description

      The main queues in S4 are the NIO buffer and the Stream event queue. The stream event queue is a good place for implementing various load shedding strategies, because metadata is available from the EventMessage class.

      Currently, the default mechanism is avoid load shedding by using a blocking write operation on the stream queue. We already experiment alternatives (see S4-62), but the best way would be a pluggable mechanism.

        Issue Links

          Activity

          Hide
          Matthieu Morel added a comment -

          S4-95 provides pluggable stream executors as well as event senders. These are good places for specifying custom load shedding strategies.

          Show
          Matthieu Morel added a comment - S4-95 provides pluggable stream executors as well as event senders. These are good places for specifying custom load shedding strategies.
          Hide
          Matthieu Morel added a comment -

          Implemented in S4-95 and merged into dev branch

          Show
          Matthieu Morel added a comment - Implemented in S4-95 and merged into dev branch

            People

            • Assignee:
              Unassigned
              Reporter:
              Matthieu Morel
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development