Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optionally queue outgoing data #3844

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Jun 10, 2022

  1. Optionally queue outgoing data

    Support queueing outgoing stanzas and stream management elements for up
    to a configurable number of milliseconds (with a configurable queue size
    limit).  This allows for batching up multiple XML elements into a single
    TCP packet in order to reduce the TCP/IP overhead.
    
    The feature is supported by ejabberd_c2s, ejabberd_s2s_out, and
    ejabberd_service.  It can be enabled by configuring the max. number of
    milliseconds to queue an element (default: 0), and optionally the max.
    number of elements to queue (default: 10).  This can be done by using
    the following new ejabberd_c2s/ejabberd_service listener options:
    
    - max_send_queue_size
    - max_send_queue_delay
    
    For ejabberd_c2s, the following global options can be specified instead:
    
    - c2s_max_send_queue_size
    - c2s_max_send_queue_delay
    
    For ejabberd_s2s_out, the following global options can be specified:
    
    - s2s_max_send_queue_size
    - s2s_max_send_queue_delay
    weiss committed Jun 10, 2022
    Configuration menu
    Copy the full SHA
    abfb62f View commit details
    Browse the repository at this point in the history