Skip to content

3.0.0

Choose a tag to compare

@klevu klevu released this 27 Feb 13:58

Changelog

  • [IMPROVEMENT] Performance for both discovery and sync
  • [IMPROVEMENT] Real time feed back in CLI when running discovery commands.
    No longer need to wait until the process is finished to see responses
  • [BUGFIX] Change order of Indexing actions Delete, Update, Add to avoid issues when changing product types
  • Composer Dependency
    • klevu/module-m2-indexing-api: ^3.0.0 (from ^2.1.1),
    • klevu/module-m2-indexing-categories: ~3.0.0 (from ~2.1.2),
    • klevu/module-m2-indexing-cms: ~3.0.0 (from ~2.1.0),
    • klevu/module-m2-indexing-products: ~3.0.0 (from ~2.1.2),

Breaking Changes

Post Deployment Actions

Along with the usual post deployments actions such as bin/magento setup:upgrade and bin/magento setup:di:compile please ensure you also regenerate the pipeline configuration

bin/magento klevu:indexing:configuration-overrides-regenerate

Performance Improvement

| Number of Products |   Action   |  Time Change   |   Memory Change  |
| ------------------ | ---------- | -------------- | ---------------- | 
|        50K         | Discovery  |  -80% / -159s  |  -61% /  -345Mb  | 
|        50K         | Sync All   |   -1% /   -1s  |  -82% /-1,075Mb  | 
|        50K         | Sync 1     |   -5% /    0s  |  -31% /   -51Mb  | 
|        50K         | Sync 1,000 |   +6% /   +1s  |  -22% /   -45Mb  | 
| ------------------ | ---------- | -------------- | ---------------- | 
|       100K         | Discovery  |  -64% / -246s  |  -42% /  -361Mb  | 
|       100K         | Sync All   |   +5% /  +62s  |  -90% /-2,275Mb  | 
|       100K         | Sync 1     |  +20% /   +0.3s|  -25% /   -41Mb  | 
|       100K         | Sync 1,000 |   +7% /   +1s  |  -19% /   -40Mb  | 
| ------------------ | ---------- | -------------- | ---------------- | 
|       500K         | Discovery  |  -48% / -908s  |  -49% /-1,528Mb  | 
|       500K         | Sync All   |       N/A*     |       N/A*       | 
|       500K         | Sync 1     |  +20% /   +3s  |   -5% /   -10Mb  | 
|       500K         | Sync 1,000 |   -3% /  -10s  |   -2% /   -10Mb  | 

* Prior to 4.2.0 sync with 500K entities failed with out of memory error

Benchmarked vs 4.1.3 using Magento performance toolkit with a combination of simple and configurable products.