Hi , I want to develop a server which will listen on some specific ports to receive requests from device.While processing a request following steps are followed.
- Read data from socket stream(sent from device)
- Parse byte data in to business objects
- Use business objects process request using database through ado.net layer
- Send response in binary to device
All of above steps take fraction of a second to process.
Currently i am using thread pool for making server multithreaded.
My objective is to make a server which can handle maximum requests per second.
What should be my approach to develop maximum efficient server and then to test this server request handling capacity for verification.
Thanks