[jdev] Jabber message Maximum length

Joonas Govenius joonas.govenius at gmail.com
Tue Aug 22 09:18:11 CDT 2006

On 8/22/06, Michal vorner Vaner <michal.vaner at kdemail.net> wrote:
> The protocol itself does not limit the size, but allows servers to have
> their own limits for protection reasons. It however says the protocol is
> optimized for small stanzas. Recommended size is <4k for instant
> messaging.

Has anyone actually tested this? Also, what's not "instant messaging"?

I had to resort to transfering images in a very similar way to IBB
(JEP-0047) in my whiteboard solution. I'm encoding the image in base64
and splitting the data over several messages if necessary. What
fragment size would you recommend in this case? I could imagine
sending a smallish, say 200KB, image in 4KB fragments causing much
more load on the server than sending it in 50KB fragments for example.
That's just my guess though. Does anyone know better?


More information about the JDev mailing list