承接 furan/module-indexer-isolation 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

furan/module-indexer-isolation

Composer 安装命令:

composer require furan/module-indexer-isolation

包简介

Magento 2 module to isolate slow indexers into their own cron group

README 文档

README

Moves slow Magento indexers into their own cron group so they stop blocking everything else.

The problem

Magento's index cron group processes all indexers sequentially. If one takes hours (e.g. catalogsearch_fulltext on a large catalogue), every other indexer waits behind it.

What this module does

Selected indexers are moved into a separate index_isolated cron group that runs in its own PHP process. The remaining indexers continue in the default group unblocked. No additional system crontab entry is needed.

Quick start

cp -r Furan/IndexerIsolation app/code/Furan/IndexerIsolation
bin/magento module:enable Furan_IndexerIsolation
bin/magento setup:upgrade
  1. Go to Stores > Configuration > Advanced > System > Indexer Isolation
  2. Set "Enable Indexer Isolation" to Yes
  3. Select which indexers to isolate
  4. Save

The multiselect only shows indexers that are safe to isolate. Indexers with a shared_index or that other indexers depend on are excluded automatically.

When disabled, Magento behaves exactly as stock. Zero overhead.

How it works

Two interception layers handle the two indexer pathways:

Mview (partial reindex via changelogs): A plugin on Mview\ConfigInterface dynamically reassigns the mview group for isolated views from indexer to index_isolated. The default group skips them, the isolated group picks them up.

ReindexAllInvalid (full reindex of invalid indexers): A process-local in-memory flag combined with a plugin on Indexer\ConfigInterface filters isolated indexers out of getIndexers() during reindexAllInvalid(). No database state is modified. The isolated group runs in a separate PHP process and is unaffected by the flag.

Three dedicated cron jobs in the index_isolated group handle mview updates, full reindex, and changelog cleanup.

Requirements

  • Magento 2.4.8 or later
  • PHP 8.1+

统计信息

  • 总下载量: 0
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 4
  • 点击次数: 4
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 4
  • Watchers: 0
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-03-23

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固