Raised This Month: $51 Target: $400
 12% 

Future possibility of concurrent MySQL access?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Chief149
Member
Join Date: Sep 2010
Old 08-31-2016 , 18:36   Future possibility of concurrent MySQL access?
Reply With Quote #1

Does anyone know if there might be a future where MySQL queries get executed concurrently? Or maybe up to X number of queries executed at the same time?
Chief149 is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 08-31-2016 , 18:51   Re: Future possibility of concurrent MySQL access?
Reply With Quote #2

No, it would be a significant breaking change.
__________________
asherkin is offline
Chief149
Member
Join Date: Sep 2010
Old 08-31-2016 , 18:57   Re: Future possibility of concurrent MySQL access?
Reply With Quote #3

How difficult do you think it might be to make a different version that supported concurrent queries?


Why would adding more potential threads to the current MySQL extension break things? I'm not challenging you, but you know the source code better than I do.
Chief149 is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 08-31-2016 , 19:19   Re: Future possibility of concurrent MySQL access?
Reply With Quote #4

Not difficult, but rather useless without a load of helpers for managing in-flight requests. Not really worth the effort for little gain.

It would break things because the current guarantee is that queries of the same priority are sequential, and almost all plugins rely on that behaviour.
__________________

Last edited by asherkin; 08-31-2016 at 19:20.
asherkin is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 00:48.


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