Synthesis of recovery schemes in distributed computings for publishing systems