Quote:
Originally Posted by Starfinder
the "client" ive made IS made to be part of a larger network.
It checks everything with the database before sumbitting anything.
There however is a small "mem leak" in the application (nothing your computer cant handle - im more worried about my server) The client wont close the connection to the database until the garbage collector does it.. and it keeps the connections open for 30 seconds, but it creates a new connection every 3 second.... So imagine 50 clients...
thats 30/3 * 50 = 500 connections to my server, even tho only 10 of them might be used... = my server will hate me forever.
Via the MS SQL manager the server laggs with just 2 clients connected... lol..
Anyways.. tweaking the program tonight... anyone wanna run it.. let me know and ill send you a manual on how to get it workin / best OCR results.
|
It seems a bit unefficient to make the client check with the server before submitting. Isnt just sending the data, and let the server process it a lot more efficient? Or is it a direct connection to the SQL server? In that case I think you can better make a webservice that handels the clients.
ps, I turned off globals in chat and I like it. So I cant help you out in this. I am interested though in your sourcecode

. I made a realtime OCR myself that parses the damage you do and logs it. Although it uses very simply algorithms. So I am kinda curious how you approached it.