Skip to content

Instantly share code, notes, and snippets.

Aaron Dunnington aarondunnington

Block or report user

Report or block aarondunnington

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@aarondunnington
aarondunnington / queue.lua
Created Mar 21, 2015
Array-Based Queue on Aerospike
View queue.lua
local ENQUEUE_CAPACITY = 100
local function l_exists(rec, bin)
if aerospike:exists(rec)
and rec[bin] ~= nil
and type(rec) == "userdata" then
return true
end
return false
end
You can’t perform that action at this time.