I have customized system. System configuration is below.
I have WinForm Application on Windows 7 P, C#, and .Net 2.0.
It is server-client application. I have multiple server system almost 60 systems. My application create multiple clients to connect each server.
Each clients has sending/receiving backgroundworker. If only one client send multiple commands (25 commands) to only one server, then It tooks 3 secs. However, If each client send multiple commands to each servers, then It tooks 18 secs, not 3 secs.
Is there any reason ?
Update a PC has Network Card for 4 channel. each channel has connected with 10 mores server controller.
Edited I have solved this issue. The main root cause to implement Server code with BGW(Backgroundworker). I have changed from BGW to thread - receiving and sending function.
I get the fast response with 25 commands for each client. Even I connected 50 clients, I got same time response for whole clients.
I have solved this issue. The main root cause to implement Server code with BGW(Backgroundworker). I have changed from BGW to thread - receiving and sending function.
I get the fast response with 25 commands for each client. Even I connected 50 clients, I got same time response for whole clients.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.