Hacker News new | ask | show | jobs
by clumsysmurf 3900 days ago
Can you describe how the queue was represented as key/value?
1 comments

Yes, as id/value with autoincrement key. Head and tail ids are kept in memory and get initialized on startup via leveldb database scan.