From dbf9ec150dfa6a5b87028aa890a80b529dfe5683 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Tue, 1 Nov 2016 16:30:26 -0400 Subject: [PATCH 1/1] LP#1612771: add release notes Signed-off-by: Galen Charlton --- doc/Bundling-and-Chunking.txt | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 doc/Bundling-and-Chunking.txt diff --git a/doc/Bundling-and-Chunking.txt b/doc/Bundling-and-Chunking.txt new file mode 100644 index 0000000..39843f4 --- /dev/null +++ b/doc/Bundling-and-Chunking.txt @@ -0,0 +1,19 @@ +Message Bundling and Chunking +============================= + +OpenSRF now supports message chunking, i.e., breaking up large OpenSRF +messages across multiple XMPP envelopes. This is implemented with a +new OpenSRF message type. + +C, Perl, and Javascript libraries are taught how to reconstruct chunked +messages. The default chunking threshold is 50Kb, just a bit below the +default ejabberd max stanza size of 64Kb. + +What was previously called chunking is now referred to as bundling: +packing multiple OpenSRF messages together in a single XMPP envelope, +as long as we believe more messages will be sent in the future and we +are below some threshold of combined message size. The default for +that threshold is 25Kb. + +With this change, it is no longer necessary to change the `max_stanza_size` +setting for ejabberd when installing OpenSRF. -- 2.43.2