Reputation: 671
I'd like to know how to scale database service in Cloudfoundry properly. As for know I've come up with two potential approaches and I need to know which one is right (or maybe neither of them).
UPD: I'm using open source Cloudfoundry distribution, so I can't use any of products that are intended for usage with Pivotal Cloud foundry distribution.
Any help on this matter will be greatly appreciated, thanks!
Upvotes: 4
Views: 571
Reputation: 1405
You will need to create or use a service that explicitly supports clustering and replication.
For example, Pivotal distributes a HA version of the MySQL service that allows you to decide how many instances/VMs to provision in your cluster:
https://network.pivotal.io/products/p-mysql
Upvotes: 1