i am planing to build a tcpserver using b4j this part is fine but there is a few things in my brain that confuse me
i will hold about 900 clients on the port each client will be able to insert delete stuff in the mysql database
now i am asking what should i do in the sql part ? should i give each client its own sql like for example
or i should create a module that connect to sql one time and do the querys inside it with all of this number of clients ?
i will hold about 900 clients on the port each client will be able to insert delete stuff in the mysql database
now i am asking what should i do in the sql part ? should i give each client its own sql like for example
B4X:
Sub Class_Globals
Private astream As AsyncStreams
Private Mserv As servermanager
Dim clientsql As SQL
End Sub
or i should create a module that connect to sql one time and do the querys inside it with all of this number of clients ?