rackerlabs / developer.rackspace.com

Gen 3 of the developer.rackspace.com Portal
Apache License 2.0
47 stars 59 forks source link

Go single region #890

Open ycombinator opened 9 years ago

ycombinator commented 9 years ago

via @kenperkins: The benefit of multi-region doesn't outweigh the added complexity for our product. Consider:

  1. Losing an entire region is a catastrophic level failure.
  2. Our current strategy uses round-robin-dns, which means in the event of the afore-mentioned region outage, half of our customers are going to get connection errors until the DNS cuts over.
  3. We can provision an entire new deployment in a second region in minutes
  4. We don't have sufficient data-gravity on a per-region basis to impact restoring to full functionality after provisioning in new region

Given these statements, I believe we should do-away with the multi-region deployment, and switch to a single region.

rdodev commented 9 years ago

With many other non-critical businesses doing the same (i.e. implement in one region, provision other regions as disaster recovery), it seems this is a good way to handle disaster recovery for our use case.

:+1:

ycombinator commented 9 years ago
  1. We don't have sufficient data-gravity on a per-region basis to impact restoring to full functionality after provisioning in new region.

Any time we add a datastore (cloud files containers, elastic search cluster, etc.) we must have a strategy that ensures:

ycombinator commented 9 years ago

Execution note: We cannot simply kill one of our existing regions to resolve this issue. Currently we are storing sponsorship requests in containers in IAD (hardcoded). We would want to make the following changes first:

Alternatively we could just use ElasticSearch as the backend for sponsorship requests, eliminating two types of data stores (cloud files and elasticsearch).

rdodev commented 9 years ago

@ycombinator you want this to be a backlog item for next sprint?

ycombinator commented 9 years ago

@rdodev Yes, I think that makes sense. We would be able to make this change before introducing more changes (e.g. ElasticSearch).

rdodev commented 9 years ago

@ycombinator ok, I'll add the items delineated above.