Improve horizon's cache methodology by caching data more agresively and applying new caching methods
Summary
=======
Improve horizon's cache methodology by caching data more agresively and applying new caching methods
Motivation
========
- The memoize decorator in Horizon is intended to cache data for the life of the request. Unfortunately, the decorator is misused and the result is horizon caches for less than the life of the request.
- Memoize does not cover all caching needs a broader solution is needed
- Improve performace
Description
=========
Stop memoizing on request argument for objects we know won't change in different views by adding a new decorator that allows to memoize a function for multiple views.
Address this gradually by changing the memoize calls where makes sense to change them
TODO: Investigate on broader caching solutions.
django based caching
convert views to angular based views to allow client side caching
UX
===
Testing
======
Test against new caching mecanisms/
Requirements Update Required
=======
Patch: https:/
Investigate broader caching solutions
Doc Impact
=========
Document new memoize decorator
Document added features and functionality
Blueprint information
- Status:
- Complete
- Approver:
- Rob Cresswell
- Priority:
- Medium
- Drafter:
- Daniel Castellanos
- Direction:
- Approved
- Assignee:
- Daniel Castellanos
- Definition:
- Approved
- Series goal:
- Accepted for 10.0.0-newton
- Implementation:
- Implemented
- Milestone target:
- ongoing
- Started by
- Daniel Castellanos
- Completed by
- David Lyle
Related branches
Related bugs
Sprints
Whiteboard
RE: TODO: Investigate on broader caching solutions. --> Searchlight will be ready for deployment in Newton: https:/
Gerrit topic: https:/
Addressed by: https:/
Stop memoizing on request argument in neutron api
Gerrit topic: https:/
Addressed by: https:/
stop memoizing on request argument in cinder api
Addressed by: https:/
Stop memoizing on request arguments in nova api