remove spinlock on place, add redis proxy code