Question

I have created a simple Delphi service application which uses Indy's TIdMappedPortTCP to redirect connection from one port to another port on a remote server.

The application does not process the traffic in any form. It only redirects the traffic to a remote server using DefaultPort, MappedPort and MappedHost properties.

I need to know what is the maximum number of connections it can handle and what are the different factors that would affect the performance such as OS, Architecture(32bit/64bit) ..etc.

My current test shows that TIdMappedPortTCP can handle 1500 connection with over 1500 threads.

I'm expecting that simultaneous connections will increase to 10000 or even 20000.

## Update 1 ##

My tests shows that the application uses 50000KB (50MB) for 1000 TCP connections (1000 threads).

## Update 2 ##

The application is currently using over 6000 threads (6000 TCP connections) and the memory usage is only 250MB with no performance issues!

No correct solution

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top