Need expert advice for cloud based application using distributed local area network

We are developing a gaming cafe management application and have a question when it come to it's networking part. Our application will be completely cloud based, so multiple cafes can be connected and managed by single server. But as a backup we are planning to keep a local server in every cafes. In case of cloud server downtime, we want these local servers to switch on automatically and handle the operation. So that our service won't be interrupted. And when the cloud comes back on the local server will sync with the cloud automatically. Need your advice if it is possible to achieve.

P.S: Please don't troll my post. And pardon me if I seems unclear, still figuring out things.

submitted by /u/deXter-420
[link] [comments]