You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _docs/pipelines/monitoring-pipelines.md
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,6 +28,16 @@ max-width="80%"
28
28
29
29
In addition, the [Pipelines Dashboard]({{site.baseurl}}/docs/dashboards/home-dashboard/#pipelines-dashboard) serves as a centralized location to track pipelines performance by KPIs.
30
30
31
+
32
+
## Concurrency recommendation per Runtime Environment
33
+
34
+
Concurrency limits control the number of simultaneous builds for Codefresh pipelines. Concurrency limits are set at both the account and specific pipeline levels.
35
+
36
+
**Balancing concurrency and performance**
37
+
While a single Runtime Environment technically supports concurrent build executions in the hundreds, it is essential to be aware of the actual number of concurrent builds that are initiated at the same point in time. To prevent potential slowdowns due to extremely large build-bursts, we recommend capping the number of concurrent builds initiated for a Runtime Environment to a maximum of 500.
38
+
39
+
40
+
31
41
## Starring projects and pipelines as favorites
32
42
33
43
Mark frequently used or high-priority pipelines as favorites in the Projects and Pipelines pages. This allows for easy and quick access to important projects or pipelines.
Copy file name to clipboardExpand all lines: _docs/pipelines/pipelines.md
+15-3Lines changed: 15 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -206,7 +206,8 @@ Once you create your pipeline you can also click on the top tab called *Settings
206
206
207
207
208
208
-**Pipeline Concurrency**: The maximum number of concurrent builds (0-14 or unlimited). Set the concurrency when your pipeline has only one trigger.
209
-
> A Pipeline Concurrency of **0** freezes execution of the pipeline, switching it to maintenance mode. Use this concurrency setting to modify existing pipelines and freeze execution until you complete the changes.
209
+
> **TIP**:
210
+
A Pipeline Concurrency of **0** freezes execution of the pipeline, switching it to maintenance mode. Use this concurrency setting to modify existing pipelines and freeze execution until you complete the changes.
210
211
-**Trigger Concurrency**: The maximum number of concurrent builds per trigger (1-15 or unlimited). Define the trigger concurrency when your pipeline has multiple triggers.
211
212
-**Branch Concurrency**: The maximum number of concurrent builds per branch (1-15 or unlimited). Define this when your pipeline can build different branches.
212
213
-**Build Termination**: Options that determine when a build from the pipeline should terminate:
@@ -275,12 +276,23 @@ max-width="60%"
275
276
276
277
The **Pipeline and Trigger Concurrency** limits are very important as they allow you to define how many instances of a pipeline can run in parallel when multiple commits or multiple pull requests take place.
277
278
278
-
> Notice that these limits are *unrelated* to [parallelism within a single pipeline]({{site.baseurl}}/docs/pipelines/advanced-workflows/).
279
+
280
+
**Balancing concurrency and performance**
281
+
While a single Runtime Environment technically supports concurrent build executions in the hundreds, it is essential to be aware of the actual number of concurrent builds that are initiated at the same point in time. To prevent potential slowdowns due to extremely large build-bursts, we recommend capping the number of concurrent builds initiated for a Runtime Environment to a maximum of 500.
282
+
283
+
> **NOTE**:
284
+
Pipeline and trigger concurrency limits are *unrelated* to [parallelism within a single pipeline]({{site.baseurl}}/docs/pipelines/advanced-workflows/).
279
285
280
286
Some common scenarios are:
281
287
282
288
* a pipeline that uses a shared resource such as a database or queue and you want to limit how many pipelines can access it
283
-
* a pipeline that deploys to a single production environment (in most cases you only want one active pipeline touching production
289
+
* a pipeline that deploys to a single production environment (in most cases you only want one active pipeline touching production)
290
+
291
+
**Concurrency recommendation per Runtime Environment**
292
+
293
+
Concurrency limits control the number of simultaneous builds for Codefresh pipelines. Concurrency limits are set at both the account and specific pipeline levels.
294
+
295
+
284
296
285
297
#### Build termination
286
298
The **Build Termination** settings are useful for pipelines where you commit too fast (i.e. faster then the actual runtime of the pipeline).
0 commit comments