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.

Cheers,
        -Brian

--
_______________________________________________________
Brian "Krow" Aker, brian at tangent.org
Seattle, Washington
http://krow.net/                     <-- Me
http://tangent.org/                <-- Software
_______________________________________________________
You can't grep a dead tree.




_______________________________________________
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