-
-
Notifications
You must be signed in to change notification settings - Fork 436
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
High usage of redis hget with attribute group_price #1516
Comments
what exactly do you mean by "Product attribute group_price installed" ? |
What did you do to install/enable/disable it? |
@joshua-bn class MyRewrite extends Mage_Catalog_Model_Product_Attribute_Backend_Groupprice {
public function afterLoad($object) {
return $this; //afterload disabled due to poor performance
}
} |
So is this the function that's causing the problem? probably the loadPriceData()? |
@fballiano yes the link points to the problematic function |
Preconditions (*)
group_price
installedSteps to reproduce (*)
Result (*)
After we installed the group_price attribute, it really slowed down our product page by many calls to redis hget:
To fix it, I disabled (rewrite) the method
Mage_Catalog_Model_Product_Attribute_Backend_Groupprice_Abstract::afterLoad
.Here is newrelic backtrace where I spotted the problem:
The text was updated successfully, but these errors were encountered: