Anonymous | Login
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Retail Modules] Web POSminoralways2021-11-22 12:512021-11-23 08:54
ReporterjetxarriView Statuspublic 
Assigned ToRetail 
PrioritynormalResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget VersionRR20Q3.4
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo

0048120: Improve Discount endpoint performance creating a cache of the rules

DescriptionImprove Discount endpoint performance creating a cache of the rules.

In every request it is necessary to create rule object with all the properties like (products, productcategories, characteristics ....) so it will be interesting to cache all the rules and do not need to recalculate data.

Steps To Reproduce-Do a request to endpoint
-The time of each request with big amount of discounts should improve and it does not improve as much as expected
Proposed SolutionAttached a patch.
To update the cache is taking only the updated of the header of the discount.

Also it creates a preference with value of the cache Maximum time. Currently to 0 to maintain standard behaviour
Attached Filesdiff file icon performance.diff [^] (33,576 bytes) 2021-11-22 13:02 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2021-11-22 12:51 jetxarri New Issue
2021-11-22 12:51 jetxarri Assigned To => Retail
2021-11-22 12:51 jetxarri File Added: performance.diff
2021-11-22 12:51 jetxarri Triggers an Emergency Pack => No
2021-11-22 12:56 jetxarri File Deleted: performance.diff
2021-11-22 13:02 jetxarri File Added: performance.diff
2021-11-23 08:54 rafaroda Tag Attached: NOR

Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker