Implementation of the actor pattern, backed by MongoDB, for offline processing of jobs