Deployment on Local and Online

I need to deploy and keep sync a Meteor App on Local web servers and on cloud instances (OVH runabove).
I greatly deploy with mupx on both side.

My goals are:

  • local people on lan wifi access the app with local web server to minimize bandwith and latency.
  • Other can access the app through online instance
  • Everything is kept sync

Local users will be 90% of the traffic. I would like to use cluster from MeteorHacks to set all my servers (local and online) and get failover security.

Main question for me now is how to handle DNS balancing depending on user access location (Lan or Online).

Any tips on infrastructure? Any advises or concept are welcome!

1 Like