I am developing a server side component to interact with Jabber and listening request from several clients. However, after many tests, I realized that Smack uses until 4 threads per each XMPPConection object. packetReader have 2 threads and packetWriter have 2 more threads. I am testing with 3000 connections (that means more than 12000 threads) and the performances goes down severely, unfortunatelly my objective is to reach 10000 open and active connections. Any suggestions to do it with smack ?