Re: Maximum number of client connections?
Thursday, July 29, 2004 06:53 AM
There is no limit from SwiftMQ but you would have to use the Network NIO Swiftlet to handle that number of connections. Each socket connection requires a fd (on Unix) and Unix-like OSes usually have an upper limit. Linux has 512, Solaris 990 (I guess). But you can increase that limit. We have tested it with 990 connections and we have customers running interconnected routers with each 800 connections.
Performance impact -- yes. The more connections the larger your NIO select set. You would have to spend some time to optimize the number of select tasks and other thread counts to fit with your load and the number of CPUs etc. It's no problem if you don't have high load.