AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting (https://forums.alliedmods.net/forumdisplay.php?f=107)
-   -   MySQL connection freezes via SQL_FastQuery (https://forums.alliedmods.net/showthread.php?t=300852)

ZASTRELIS 09-01-2017 05:44

MySQL connection freezes via SQL_FastQuery
 
Have a one of problem. MySQL server located not in same location where srcds server located. Difference in 60-80ms between them. And client occurs a lag when I used SQL_FastQuery stock by chat trigger. For example u write something in chat and it's saved in db. I don't understand why it happens, why sourcemod not used multithreading with mysql ext :cry: net_graph reports that sv and var ups to 10ms when SQL_FastQuery used. Last time I thought that mysql server not enought optimized but after configuration updates I understood that problem happens due to sourcemod.. because last experience tell me same when I used MySQL on same machine with SRCDS, lags happens, but not as when distance amount between servers is 60-80ms I thing that sm team must rewrite old part of mysql ext and fix problem with threading

DJ Tsunami 09-01-2017 06:10

Re: MySQL connection freezes via SQL_FastQuery
 
The MySQL extension does support threading, you just have to use SQL_TQuery.

Bacardi 09-01-2017 07:58

Re: MySQL connection freezes via SQL_FastQuery
 
...what the? OP lazy to read SM wiki and old topics?

ZASTRELIS 09-01-2017 08:55

Re: MySQL connection freezes via SQL_FastQuery
 
Quote:

Originally Posted by Bacardi (Post 2545750)
...what the? OP lazy to read SM wiki and old topics?

Yes. It's. Not enought time for this. bro.. I ask and subscribe to the my treads only, for future if problem happens again.

ZASTRELIS 09-01-2017 08:56

Re: MySQL connection freezes via SQL_FastQuery
 
Quote:

Originally Posted by DJ Tsunami (Post 2545737)
The MySQL extension does support threading, you just have to use SQL_TQuery.

Thanks. Very shortly and helpfully. +rep


All times are GMT -4. The time now is 21:55.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.