powered by Jive Software

Is singleton of XMPPTCPConnection possibly bottleneck?

Hi. I already found that XMPPTCPConnections are thread-safe.

And I also found this page.

My application which is based on the Spring Boot uses a single XMPPTCPConnection which is initialized at boot time.
That means event HTTP request uses the singleton instance to talk to the Openfire.

My question is.

Is it possibly bottleneck? How many threads can it use?

Unlikely, and there is no thread limit.

1 Like