This article provides best practice for configuration settings that can help improve checkout performance in case of large number of simultaneously created orders.
Affected products and versions
- Adobe Commerce on cloud infrastructure, all supported versions
- Adobe Commerce on-premises, all supported versions
If the number of simultaneously placed orders in your store is large enough and has a negative impact on checkout performance, we recommend enabling asynchronous orders processing.
To enable the setting:
Method 1: Adobe Commerce on cloud infrastructure and Adobe Commerce on-premises (if deploy mode is PRODUCTION - which is the default setting on Adobe Commerce on cloud infrastructure as DEFAULT or DEVELOPER are not allowed): Run
php bin/magento config:set dev/grid/async_indexing 1.
Method 2: Adobe Commerce on-premises only (only when the deploy mode set to DEFAULT OR DEVELOPER): Enable the Asynchronous indexing option in the Commerce Admin under Stores > Settings > Configuration > Advanced > Developer > Grid Settings > Asynchronous indexing.
Then flush cache by running
php bin/magento cache:flush or go to the Commerce Admin under System > Tools > Cache Management.
Warning: always test in the Staging environment prior to making any changes to the Production environment.
- Best practice Adobe Commerce order placement performance in our support knowledge base.
- Configuration paths reference in our developer documentation.