Scaling DB containers horizontally? #3621
-
|
I've been looking at the docs, specifically at the scaling section. It's understandable how to scale horizontally for stateless containers, you just create replicas, but what about stateful DB containers? i.e.MariaDB, Redis, and InfluxDB containers. I didn't find any reference to AppWrite knowing how to work with DB replicas or sharding, does this mean that you can only scale these vertically? Is there any hard limit I should be concerned of? Does anybody have experience with that or ran some stress tests? A client of mine has a potential of 10mil active monthly users and I wanted to know if it's realistic to expect AppWrite to handle it. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
@DAB0mB, you would scale MariaDB just like you would in any other environment. Maybe this will help: https://mariadb.com/kb/en/replication-cluster-multi-master/. You can also use a managed mariadb provider if you don't want to manage the scaling yourself. |
Beta Was this translation helpful? Give feedback.
@DAB0mB, you would scale MariaDB just like you would in any other environment. Maybe this will help: https://mariadb.com/kb/en/replication-cluster-multi-master/. You can also use a managed mariadb provider if you don't want to manage the scaling yourself.