Openbravo Issue Tracking System - Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0049393 | Modules | Open API | public | 2022-05-24 18:38 | 2022-06-01 18:00 |
|
Reporter | vmromanos | |
Assigned To | Triage Platform Conn | |
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | | |
Merge Request Status | approved |
Regression date | |
Regression introduced by commit | |
Regression level | |
Review Assigned To | |
Support ticket | |
OBNetwork customer | No |
Regression introduced in release | |
|
Summary | 0049393: Performance improvements in goods movement and physical inventory import |
Description | After checking a yourkit snapshot (goods movement), it has been detected that the process is spending too much time trying to get the locator for each line.
For each line, the process queries the database to retrieve the locator. The query is very fast, but we might execute it many times (depending on the request size), so the total time is high.
The process can be easily optimized by having a cache (like we have with the lineNo calculation). So if the provided locator in the json is not in the cache, we will query the database and we will save the ID (or Proxy object) in the cache for next calculation.
|
Steps To Reproduce | NA |
Proposed Solution | Review ImportInventoryLineJavaPropertyMappingHandler and ImportGoodsMvmtLineJavaPropertyMappingHandler to implement a cache over the locator calculation |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | feature request | 0049329 | | closed | Triage Omni WMS | Openbravo ERP | Openbravo API to support Goods Movement | related to | feature request | 0049155 | | closed | Triage Omni WMS | Openbravo ERP | Openbravo API to support Physical Inventories |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2022-05-24 18:38 | vmromanos | New Issue | |
2022-05-24 18:38 | vmromanos | Assigned To | => Triage Platform Conn |
2022-05-24 18:38 | vmromanos | OBNetwork customer | => No |
2022-05-24 18:39 | vmromanos | Relationship added | related to 0049329 |
2022-05-24 18:39 | vmromanos | Relationship added | related to 0049155 |
2022-05-25 15:10 | hgbot | Merge Request Status | => open |
2022-05-25 15:10 | hgbot | Note Added: 0137725 | |
2022-06-01 18:00 | hgbot | Merge Request Status | open => approved |
2022-06-01 18:00 | hgbot | Resolution | open => fixed |
2022-06-01 18:00 | hgbot | Status | new => closed |
2022-06-01 18:00 | hgbot | Note Added: 0137952 | |
2022-06-01 18:00 | hgbot | Note Added: 0137953 | |