Giter Site home page Giter Site logo

Comments (3)

poblin-orange avatar poblin-orange commented on September 23, 2024

Many cpi to cloudstack api call are async task result polls.
Which type of apI call do you want to throttle? create_vm and or create_disk?
Maybe u can start by throttling at bosh director level (number of worker thread)

from bosh-cloudstack-cpi-release.

poblin-orange avatar poblin-orange commented on September 23, 2024

bosh director has already mechanism to limit iaas actions limitations. We usually set a lower value to max_threads parameter.

http://bosh.io/jobs/director?source=github.com/cloudfoundry/bosh&version=234#p=director.max_threads

I guess cloudstack has also some api throttling mechanism.
Given these 2 options, i do not think the cpi is the good place for throttling

from bosh-cloudstack-cpi-release.

poblin-orange avatar poblin-orange commented on September 23, 2024

hystrix instrumentation has been added. First version limits the concurrent cpi verb to 10 (ie: max 10 concurrent cpi.create_vm, max 10 concurrent cpi.create_disk).
This built in cpi mechanism can protect the iaas in case of bosh max_thread unadapted configuration

from bosh-cloudstack-cpi-release.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.