Hi, I would like to ask you for help, since my approach was not good. On the server side, there are clients connected (each client is represented by my Client class). Each client needs to comunicate with DB behind the server, also there is a need of multiple connections at the same time.
I am considering to have SQLConnection and SQLReader instance in each client instance, that would surely work but I am not sure whether there is not any better way. Of course performance is everything what matters. Thanks!
EDIT: The usual traffic is about 5 requests/sec (Opening connection is so often is laggy).Maximum number of users is not higher than 100.