Planning and best effort coordination for distributed systems