Closed hongbo-miao closed 2 years ago
hasura-metric-adapter
added by
What about running multiple instances of Hasura for scaling and High Availability? According to the documentation:
"Also, with multiple instances of Hasura connected to the same database, you might run into issues such as the event triggers duplicating events or unreliable subscriptions. Hasura HA eliminates those issues."
The unreliable subscriptions probably can be fixed using Traefik sticky sessions.
For solving the duplication of events the only idea I have is maintaining a single node with the event configuration but that seems messy. Any ideas?
Hey @edulix, just noticed your message. I had muted this repo due to constant notifications from the bot about pull requests. However, I've now updated my GitHub CODEOWNERS file, so everything should be good. Repo is unmuted!
Regarding Hasura events, I'd personally steer clear and opt for Postgres CDC with Debezium instead. While Hasura does support things like events and SQL migrations, using specialized tools for these tasks seems more professional. Relying solely on Hasura for everything could be risky and challenging to scale. Hope that makes sense! ☺️
Hasura GraphQL Engine is an awesome project. Definitely worth considering its Hasura Enterprise Edition (EE) and Hasura Cloud version to save months or even years developing time.
Here are some limitations of the Hasura Community Edition (CE) and workaround solutions:
hasura-metric-adapter
: https://github.com/afitzek/hasura-metric-adapterhasura-exporter
: https://github.com/zolamk/hasura-exporter