> >> Requests will be a few KBytes, replies a few KBytes to a few hundred > >> KBytes typically. For larger replies, I suppose I can chunk them up > > > > Hmm. XMPP is not optimized for sending around 100k+ messages. > > Would 64KB chunks a reasonable thing to do?
That's probably still too high. There is currently no specified maximum size for XMPP stanzas, but individual implementations may enforce different values. The original jabberd 1.0 server had around a 10KB maximum. The general consensus is that stanzas should be "small", and this is largely in part because large stanzas block transmission of other stanzas (you cannot send many stanzas in parallel over one stream). Any XMPP-based protocol which might need to transmit large datasets should have a mechanism for chunking or paging. See XEP-47 or XEP-59 as building blocks. -Justin _______________________________________________ JDev mailing list FAQ: http://www.jabber.org/discussion-lists/jdev-faq Forum: http://www.jabberforum.org/forumdisplay.php?f=20 Info: http://mail.jabber.org/mailman/listinfo/jdev Unsubscribe: [EMAIL PROTECTED] _______________________________________________
