Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
clumsysmurf
· 11y ago · 0 comments
Can you describe how the queue was represented as key/value?
Comments
[–]
Bogdanovich
11y ago
Yes, as id/value with autoincrement key. Head and tail ids are kept in memory and get initialized on startup via leveldb database scan.