https://galenseilis.github.io/posts/m-d-1-queue-ciw/
Implementing a M/D/1 Queue in Ciw - Galen's Blog