On Feb 16, 2009, at 11:11 AM, Brian Aker wrote:

Hi!

On Feb 16, 2009, at 10:12 AM, MARK CALLAGHAN wrote:

I am not sure what a scoreboard is. Our implementation updates global


The term "scoreboard" comes from Apache. Basically the idea is a global array that is lockless. Each session has its own N line in the array that it updates. All reads across the structure are done without locks. So any sort of "reads" from it to create accumulated data are dirty. If you know max_connections the array is easy to setup, though there is a cost for finding a slot for the incoming session.


Doesn't Drizzle already have a slot value in the Session object? I saw it the other day while working thru some storage engine stuff.

--
Mark Atwood <http://mark.atwood.name>




_______________________________________________
Mailing list: https://launchpad.net/~drizzle-discuss
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~drizzle-discuss
More help   : https://help.launchpad.net/ListHelp

Reply via email to