Joyent interview question

How would you make a somewhat stateful HTTP API highly available?