Implement a database queue driver.