Skip to content
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

Improve performance of the QoH calculation #100

Open
12 tasks
jmiranda opened this issue Sep 14, 2015 · 2 comments
Open
12 tasks

Improve performance of the QoH calculation #100

jmiranda opened this issue Sep 14, 2015 · 2 comments
Assignees
Labels
status: ready for work An issue that is ready to be assigned and started status: work in progress For issues or pull requests that are in progress but not yet completed

Comments

@jmiranda
Copy link
Member

jmiranda commented Sep 14, 2015

It currently takes about 30 minutes to calculate and store inventory snapshot data (for a OB instance that has lots of products and locations). We should be able to improve both the query time for the calculation as well as writing records to the tables.

  • Implement inventory summary table to provide up-to-date snapshot of QoH for all items in the system
  • Use inventory summary table in places where on-demand computed QoH was being used
  • Validate inventory summary table against on-demand computed QoH
  • Validate
  • Improve performance of megamenu (outbound, inbound shipments)
  • Improve time to save records to inventory summary and inventory snapshot tables
  • Merge inventory snapshot and inventory item snapshot table
  • Add worker queue / parallel computing (Gpars) to improve performance of the QoH calculation
  • Add worker queue / parallel computing (Gpars) for populating inventory snapshot tables to compute
  • Consider using secondary caching store (redis) for QoH summary
  • Replace all inventory transactions with a correspondng adjustment transaction #165 Replace all inventory transactions with adjustment transactions
  • Allow system admin to configure which method to use when pulling aggregate QoH data (i.e. summary, snapshot, calculate).
@jmiranda jmiranda added the ready label Sep 21, 2015
@jmiranda jmiranda self-assigned this Oct 4, 2015
@jmiranda jmiranda added in progress and removed ready labels Oct 4, 2015
jmiranda added a commit that referenced this issue Oct 4, 2015
…ce-qoh-job

Feature/#100 improve performance of automated inventory snapshot process
jmiranda added a commit that referenced this issue Oct 4, 2015
…ce-qoh-job

fixed bug related to the table where we're saving inventory item snapshot data
@jmiranda jmiranda added this to the 0.7.4 milestone Oct 6, 2015
@jmiranda jmiranda changed the title Improve performance of the quartz job that populates the inventory snapshot table Improve performance of the quartz job that populates the inventory snapshot table Apr 7, 2016
@jmiranda jmiranda added ready and removed in progress labels Apr 7, 2016
@jmiranda jmiranda changed the title Improve performance of the quartz job that populates the inventory snapshot table Improve performance of the QoH calculation Nov 9, 2016
@jmiranda jmiranda modified the milestones: 0.7.13, 0.8.0 Nov 9, 2016
@jmiranda
Copy link
Member Author

jmiranda commented Nov 9, 2016

This one might be a hotfix so I've moved it to milestone 0.7.13 for now.

jmiranda added a commit that referenced this issue Nov 16, 2016
jmiranda added a commit that referenced this issue Nov 16, 2016
jmiranda added a commit that referenced this issue Nov 16, 2016
@jmiranda jmiranda modified the milestones: 0.7.14, 0.7.13 Nov 16, 2016
jmiranda added a commit that referenced this issue Nov 21, 2016
…e listing pages that are linked from the dashboard
jmiranda added a commit that referenced this issue Nov 21, 2016
…oducts stocked at a location in favor of summary table query
jmiranda added a commit that referenced this issue Nov 25, 2016
jmiranda added a commit that referenced this issue Nov 25, 2016
…e listing pages that are linked from the dashboard
jmiranda added a commit that referenced this issue Nov 25, 2016
…oducts stocked at a location in favor of summary table query
jmiranda added a commit that referenced this issue Nov 25, 2016
jmiranda added a commit that referenced this issue Nov 25, 2016
jmiranda added a commit that referenced this issue Nov 25, 2016
…s still running every hour rather than every five minutes
jmiranda added a commit that referenced this issue Nov 25, 2016
…(does not fix the "every 5 minutes" vs "every hour" issue though)
jmiranda added a commit that referenced this issue Nov 25, 2016
…ies used to pull data from the summary table
jmiranda added a commit that referenced this issue Nov 25, 2016
…g. fast movers, global search, and requisition pages)
jmiranda added a commit that referenced this issue Nov 25, 2016
jmiranda added a commit that referenced this issue Nov 25, 2016
@jmiranda jmiranda removed this from the 0.7.14 milestone Dec 8, 2016
@jmiranda jmiranda added this to the 0.7.18 milestone May 6, 2017
@jmiranda jmiranda added the status: work in progress For issues or pull requests that are in progress but not yet completed label May 15, 2017
@jmiranda jmiranda removed this from the 0.7.18 milestone Aug 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: ready for work An issue that is ready to be assigned and started status: work in progress For issues or pull requests that are in progress but not yet completed
Projects
None yet
Development

No branches or pull requests

1 participant