Pregunta de entrevista de Yahoo

how do you write programs that can both scale be highly available