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 #63

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

Conversation

weiss
Copy link
Member

@weiss weiss commented Jun 10, 2022

Allow for 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.

@weiss weiss force-pushed the feature/send-queue branch 3 times, most recently from 29d4ff1 to d20d791 Compare June 10, 2022 17:56
@coveralls
Copy link

coveralls commented Jun 10, 2022

Pull Request Test Coverage Report for Build 40

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details

  • 0 of 94 (0.0%) changed or added relevant lines in 3 files are covered.
  • 306 unchanged lines in 2 files lost coverage.
  • Overall coverage remained the same at 0.0%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/xmpp_socket.erl 0 2 0.0%
src/xmpp_stream_out.erl 0 45 0.0%
src/xmpp_stream_in.erl 0 47 0.0%
Files with Coverage Reduction New Missed Lines %
src/xmpp_stream_out.erl 103 0.0%
src/xmpp_stream_in.erl 203 0.0%
Totals Coverage Status
Change from base Build 37: 0.0%
Covered Lines: 0
Relevant Lines: 17947

💛 - Coveralls

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.
@weiss weiss marked this pull request as draft November 15, 2023 19:20
@weiss weiss marked this pull request as ready for review September 9, 2024 10:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants