Forums/Cloud Foundry Forums/Archived: CloudFoundry.com Q&A

Answered

How do you scale app + services asymmetrically?

Marc Palmer
asked this on April 13, 2011 13:05

I haven't seen anything yet explaining e.g. how you would have 9 mongo instances and just 2 web app instances with a load balancer.

Is this supported? If so where are the docs?

 

Comments

User photo
markl
Cloud Foundry
Ajax_loader_small Answer
I have a feeling that this is not what you are asking, but in case it is...
vmc push myapp --instances 2 --mem 64M --path ../mybits --url some-sub-domain.cloudfoundry.com --no-start -n
vmc create-service mongodb --bind myapp
vmc create-service mongodb --bind myapp
...
vmc create-service mongodb --bind myapp

If what you are trying to ask is to we support a mode of operation where this is a scale out mongodb service that lets you ask for 9 units of parallelism across a single document store, the answer is no, not yet. This is really a statement on the status of the mongo service, or sql service that's in the current code drop. Its totally feasible to implement a sql service that's configured for N read replicas, or a master-master system, etc. We have not done this in the current, open source services though.

 
April 13, 2011 22:59
User photo
Marc Palmer

OK. Obviously this is pretty fundamental, to be able to configure your services to be replicas/shards etc and all that kind of stuff.

Postgres master/slave etc

April 14, 2011 09:36
Topic is closed for comments