redis-based two-stage router/worker framework