Using Date.now() and process.hrtime() for high-resolution keys in queue.