Giter Site home page Giter Site logo

Comments (4)

gforcada avatar gforcada commented on May 30, 2024 1

A bit unrelated, but around the parallelism topic: it would be great/needed to have a way to limit the amount of parallelism.

Scenario: I'm deploying some new changes to our Plone based website where we have 9 workers. If all 9 workers at the same time run buildout and finally the process, via supervisor, is restarted, it might very well be that some requests will be refused due to the lack of servers available, as HAProxy will not see any worker available roughly at the same time.

If instead, we could limit the parallelism to, say 3 workers, then the deployment will still be 3x faster than batou 1.x already, but still allow the website the be responsive.

from batou.

ctheune avatar ctheune commented on May 30, 2024

Yes, thanks for that! I forgot to add it as a separate ticket. I have a plan in my head already:

  • for the moment I want to get the mechanism for paralellization ready
  • i'm expecting to collect 2-3 projects that want/need to use it, and then
  • gather the specific requirements how we want to limit things based on the actual requirements from the projects

I have a couple of things in my head how to provide syntax for those limits but I really want to base it on actual use cases ...

from batou.

gforcada avatar gforcada commented on May 30, 2024

@ctheune where is the form to sign up? 🙋‍♂️ 😄

from batou.

ctheune avatar ctheune commented on May 30, 2024

He, sorry @gforcada that I missed your signup ... there's an incoming PR from @wosc's colleagues that will allow setting parallelization limits similar to '-j' on make. That can be turned to "1" for the old behaviour. I'm also finishing up the general Python 3 migration and then I can take on more projects ... that want to migrate and help those :)

from batou.

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.