The main goal is to code SPSC in idiomatic Scala