Stanza content filtering
I have spent a lot of time recently looking at server logs. I noticed that simple <presence> stanza which 2 years ago looked like:
Which looked nice, compact and sensible. There was no significant overhead apart, of course, from the overhead normaly caused by text based protocols.
What, however I have spot recently looks significantly different...
Now jabber clients send as presence notification something like this:
I would say this is significant overhead for just status notification. It doesn't also look much better if you look in <message> stanza content. There are messages sent without any content even which are, actually notifications like: user started writing a message, user closed chat window.... and so on.
Maybe I am a bit old and outdated. I remember times when all you had was dial-up 9600b modem connection. Now, one could argue we have proper broadband connection and we don't have to worry too much about bandwith.
Well this is true. But even now there are people who want to limit number of bytes sent or received. They are mobile devices users who are on GPRS connection. They usually pay for every byte sent.
So even now it does make sense to limit number of bytes sent in XMPP stanzas. But, well, we don't want to give up all these nice features and notifications. The idea is to introduce something like advanced filtering mechanism which could filter out unwanted stanza parts.
It could work in similar way as current privacy lists work but as a rule you could set what you want to discard from from the xmpp packet.