Comments (4)
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.
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.
@ctheune where is the form to sign up?
from batou.
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)
- 2.3b6: batou.lib.file.File: Incorrectly formatted error message when combining an explicit template and content HOT 4
- devhost support - generated ssh config file should disable the agent HOT 4
- appenv ascii decoding breaks output
- Bootstrapping installs 2.3b4 HOT 1
- git: Show git status output in debug-log when work directory is dirty
- Migrate to poetry, replace current development workflow and get better integration with dependabot
- `examples/tutorial-provision-container/appenv` is not a symlink
- lib.File: add header template variable to environment HOT 1
- More readable cmd() error messages HOT 2
- Check branch for environment before connecting to remote servers HOT 1
- Deployment finished successfully even there was an error in between
- Unmanagement ideas HOT 2
- batou 2.3 does not display cyclic dependency errors correctly HOT 1
- Too old setuptools in supervisor HOT 1
- Document usage of batou.lib.mysql in public documentation
- batou.lib.mysql.Grant: Only appending HOT 1
- f strings everywhere
- Establish PR template that includes our ISMS checklist
- Clean up async stuff
- Inputvalidation of feature() of a component HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from batou.