I was planning on using Smack API as the chat server. Where anybody can start chat with the signee. I was assuming that for each user a separate thread was in use to invoke Packet Listener.
But after some testing it comes out a single thread is receiving and sending all the messages. I’m thinking this type of event handling might cause performance issues when hundreds of users try to communiate with single server user.
However I’m now looking to implement multithreaded event listeners, by mixing up features of OpenFire & Smack API. Any thoughts how I can do that. . From where should I start, any web resource you point me to. Any help would be great.