From 98ca335fd577498efc6a321633f505ba7b6f3fe5 Mon Sep 17 00:00:00 2001 From: Dmytro Horytskyi Date: Thu, 26 Mar 2020 17:04:59 -0500 Subject: [PATCH 1/3] MCLOUD-3045: Cache warm-up script --- src/cloud/env/variables-post-deploy.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/cloud/env/variables-post-deploy.md b/src/cloud/env/variables-post-deploy.md index f9382dbb10a..e7f6e932587 100644 --- a/src/cloud/env/variables-post-deploy.md +++ b/src/cloud/env/variables-post-deploy.md @@ -131,6 +131,19 @@ Customize the list of pages used to preload the cache in the `post_deploy` stage - "store-page:/contact-us:code1|code2" ``` +### `WARM_UP_CONCURRENCY` + +- **Default**—_Not set_ +- **Version**—Magento 2.1.4 and later + +Configure _CONCURRENCY_ with which requests to _WARM_UP_PAGES_ will be sent. This configuration limits number of parallel connections. It can help to decrease server load in case of a big amount of pages to warm-up. + +```yaml +stage: + post-deploy: + WARM_UP_CONCURRENCY: 4 +``` + [hooks section]: {{site.baseurl}}/cloud/project/project-conf-files_magento-app.html#hooks [CMS]: https://glossary.magento.com/cms/ [Content elements]: https://docs.magento.com/m2/ce/user_guide/cms/content-elements.html From b5371bb272ff1f41804323ffd4ab03f5d3eb389c Mon Sep 17 00:00:00 2001 From: Dmytro Horytskyi <5802616+dhorytskyi@users.noreply.github.com> Date: Fri, 27 Mar 2020 13:41:57 -0500 Subject: [PATCH 2/3] MCLOUD-3045: Cache warm-up script Co-Authored-By: Margaret Eker --- src/cloud/env/variables-post-deploy.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cloud/env/variables-post-deploy.md b/src/cloud/env/variables-post-deploy.md index e7f6e932587..2616ef88609 100644 --- a/src/cloud/env/variables-post-deploy.md +++ b/src/cloud/env/variables-post-deploy.md @@ -136,7 +136,7 @@ Customize the list of pages used to preload the cache in the `post_deploy` stage - **Default**—_Not set_ - **Version**—Magento 2.1.4 and later -Configure _CONCURRENCY_ with which requests to _WARM_UP_PAGES_ will be sent. This configuration limits number of parallel connections. It can help to decrease server load in case of a big amount of pages to warm-up. +Specify the number of concurrent requests to send during cache warmup operations to reduce server load. This value limits the number of parallel connections and is useful for environment configurations where the `WARM_UP_PAGES` post-deploy variable specifies a large number of pages for cache preloading. ```yaml stage: From 63a913fc54b3c305b43bb7fb4c3dad7806216f0a Mon Sep 17 00:00:00 2001 From: Dmytro Horytskyi Date: Mon, 30 Mar 2020 15:27:25 -0500 Subject: [PATCH 3/3] MCLOUD-3045: Cache warm-up script --- src/cloud/env/variables-post-deploy.md | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/src/cloud/env/variables-post-deploy.md b/src/cloud/env/variables-post-deploy.md index 2616ef88609..06b68eda7d1 100644 --- a/src/cloud/env/variables-post-deploy.md +++ b/src/cloud/env/variables-post-deploy.md @@ -41,6 +41,19 @@ After you specify the pages to test and commit your changes, the _Time To First For redirected paths, the log reports the path of the redirect target instead of the one configured in the environment variable. If you specify an invalid path, the log displays a warning message. +### `WARM_UP_CONCURRENCY` + +- **Default**—_Not set_ +- **Version**—Magento 2.1.4 and later + +Specify the number of concurrent requests to send during cache warmup operations to reduce server load. This value limits the number of parallel connections and is useful for environment configurations where the `WARM_UP_PAGES` post-deploy variable specifies a large number of pages for cache preloading. + +```yaml +stage: + post-deploy: + WARM_UP_CONCURRENCY: 4 +``` + ### `WARM_UP_PAGES` - **Default**— `index.php` @@ -131,19 +144,6 @@ Customize the list of pages used to preload the cache in the `post_deploy` stage - "store-page:/contact-us:code1|code2" ``` -### `WARM_UP_CONCURRENCY` - -- **Default**—_Not set_ -- **Version**—Magento 2.1.4 and later - -Specify the number of concurrent requests to send during cache warmup operations to reduce server load. This value limits the number of parallel connections and is useful for environment configurations where the `WARM_UP_PAGES` post-deploy variable specifies a large number of pages for cache preloading. - -```yaml -stage: - post-deploy: - WARM_UP_CONCURRENCY: 4 -``` - [hooks section]: {{site.baseurl}}/cloud/project/project-conf-files_magento-app.html#hooks [CMS]: https://glossary.magento.com/cms/ [Content elements]: https://docs.magento.com/m2/ce/user_guide/cms/content-elements.html