4 ms·
This is just global load balancing (via reverse proxy vs other methods). Actually architecting and running your app in multiple clouds is the hard part.
by manigandham 9y ago
This is just global load balancing (via reverse proxy vs other methods).
Actually architecting and running your app in multiple clouds is the hard part.
- user5994461 9y agoArchitecturing and running in multiple clouds is easy, it's exactly the same as supporting multiple datacenters and that's not something new or ground breaking. The only challenging part is the database access. Except cassandra, there isn't anything common or free that can take writes from multiple data centers simultaneously.
- kronin 9y agoRiak Enterprise supports multiple data centers. Bet365 has, or is in the process, of purchasing all of Basho's IP, and plans are to open source the Enterprise bits[1]. Not sure if Riak is considered common, and the multi DC is not yet free. http://www.computerweekly.com/news/450426130/Riak-NoSQL-snapped-up-by-bet365 http://www.computerweekly.com/news/450426130/Riak-NoSQL-snap...
- user5994461 9y agoRiak was included in the non free. I always mean free as in no money, not as freedom.
- kronin 9y agoMulti data center was restricted to Riak Enterprise and required a paid contract. That's what I was referring to, as your comment was talking about data stores that supported multi-region or multi-cloud.
- user5994461 9y agoForgot to say. I am familiar with Riak. Worked at one of the competitors of the company who acquired them. I really hope that the Entreprise version will be open sourced and will be happy to add it to the list of multi cloud options. At the moment, I can't do it in good faith since it's not gonna be released any time soon, and it's impossible to procure now that the vendor is bankrupt.
- daurnimator 9y agoPostgres XL?
- ejcx 9y agoYou're right, but it's worse than you say. It's also legal data requirements. Many EU businesses ask that their data never leave Europe. How do you separate your product in to multiple continents and still work seamlessly. It is not easy. Sometimes it is just easier to stand up everything you have in NA in the EU, and get a new tld (like .eu). It's a mess. Multi-cloud is HARD.
- mjlee 9y agoWe face this also. Out of scope of this blog post but suffice to say, you're right, it's hard.
- manigandham 9y agoThat's like saying it's easy, except the hard part which is hard. Whatever the "application" is, making it work across multiple clouds/regions will be complex, but load-balancing is usually not a big challenge today.
- manigandham 9y agoAlso CockroachDB supports multiple regions as a postgresql-compatible database and Apache Pulsar is next-gen Kafka with multi-region replication built-in.
- user5994461 9y agoIt's easy, if you have cassandra you can multi clouds, if you don't have cassandra you can't do multi clouds. There are a few commercial products that can substitute but they don't have good advertising on HN.
- manigandham 9y agoWhat? It's never easy, but you can definitely do multi-cloud/regions without Cassandra. It's not the only database that does multi-region nor is it a good fit for every scenario.
- pat2man 9y agoCockroachDB?
- TheAceOfHearts 9y agoI've previously had to work with an application that was deployed to multiple clouds. In our case, we deployed the whole app to each cloud as an independent environment, so our environments included entries like: foo-production, foo-staging, foo-development, bar-production, bar-staging. It kept the architecture a bit simpler, but in turn required more extensive monitoring and testing. The biggest annoyance was having to setup tools and services multiple times. If you automate stuff it's not so bad, but not all tools can be easily automated. If I were creating a new app I'd probably contain each backend service to a single cloud environment. Different services can be in different cloud environments, but no cross-cloud services. I'm uncertain the extra complexity would be worth it, at least for many of the use-cases I'm considering. Having fewer environments to setup and maintain is a big win in my book.
- manigandham 9y agoYes, this has been my experience with various companies attempting to do this - however there's been a lot of progress recently in both cloud vendor standardization and the rise of containers and kubernetes that makes this much easier. Running multiple Kubernetes clusters in different cloud vendors with configuration details abstracted away in a more self-contained service that can be deployed by itself as the bootstrap process makes things much easier. Consul is a good system for this, deploy it once (manually if necessary) then everything else refers to it to figure out the environment details automatically.
- mjlee 9y agoWe're using Rancher and Terraform to achieve this. The operational overhead is massively reduced compared to just a few years ago.