A mixin DSL for implementing cross-process mutexes/locks using MongoDB