I would like to know how to properly scale the database service in Cloudfoundry. As for knowledge, I came up with two possible approaches, and I need to know which one is correct (or maybe none of them).
- Deploy a database cluster outside of CF and bind it to the application as a user-provided service
- Bind multiple instances of the service to the application and somehow switch between them. However, I'm not sure if this makes sense.
UPD: I use the open source Cloudfoundry distribution, so I cannot use any products intended for use with the Pivotal Cloud distribution.
Any help on this would be greatly appreciated, thanks!
source
share