hasura / graphql-engine

Blazing fast, instant realtime GraphQL APIs on your DB with fine grained access control, also trigger webhooks on database events.
https://hasura.io
Apache License 2.0
30.93k stars 2.74k forks source link

Multi region hasura cloud projects #5616

Open samuelcastro opened 3 years ago

samuelcastro commented 3 years ago

How to avoid the single of point failure problem with Hasura? Since we can integrate many different remote schemas, what if my Hasura server get down? Is there any best practices around this?

samuelcastro commented 3 years ago

@marionschleifer I saw your post about Hasura Cloud (https://github.com/hasura/graphql-engine/issues/5342), I'm wondering how Hasura Cloud could overcome the single point of failure. Do you have any feedback?

Or maybe provide some resource around how to provide high availability with Hasura and overcome this issue.

Thanks!

hgiasac commented 3 years ago

@samuelcastro Since GraphQL Engine is stateless, docker compatibility, the high availability can easily be solved with multiple replicas using Docker Swarm or Kubernetes ecosystem. Kubernetes/Docker swarm's built-in load balancer will help you scale and self-heal dead containers.

If you don't have much DevOps experience, Hasura cloud can help you. The mechanism is similar, but with extra features such as metrics analytics and caching

samuelcastro commented 3 years ago

Thanks @hgiasac, I saw that Hasura Cloud is currently hosted only on AWS US servers, are you planning to use all regions soon?

hgiasac commented 3 years ago

@samuelcastro Yes. We are working on it

samuelcastro commented 3 years ago

Hi @hgiasac any updates on when Hasura will support all regions?

hgiasac commented 3 years ago

Hi @samuelcastro. Hasura Cloud supports multiple regions across US, EU and Asia. However the free plan is only supported in US. You need upgrading Paid plan to enable another regions

samuelcastro commented 3 years ago

Hi @hgiasac I do have the paid plan of hasura cloud. The last time I checked hasura cloud only supported one single region. Did that change now? See: https://github.com/hasura/graphql-engine/issues/5616#issuecomment-678378300

hgiasac commented 3 years ago

@samuelcastro Screenshot_20210202_110545

If you mean supporting multi-regions in one tenant, we haven't supported it yet.

samuelcastro commented 3 years ago

Yeah I mean supporting multi-regions in one tenant.

When are you guys planning to support it then?

Thanks.

dayvough commented 1 week ago

It's been 3 years and AWS HK is still not available along with other regions. When can we see these regions get supported in AWS?