representation cache a pessimization

Bug #780835 reported by Robert Collins
4
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lazr.restful
Triaged
High
Unassigned

Bug Description

The lazr restful representation cache is nearly entirely overhead (and disabled on LP prod as a result). Lazr responses are externally cachable - and when a cached response is needed its more efficient to do that outside the lazr stack (e.g. using squid) - doing cache replacement and sizing logic inline in the appserver is a hard problem (particularly as a global view of the cache is not present there).

The complexity of having it adds testing overhead and room for bugs in code (e.g. see launchpad's storm hooks to clear the representation cache).

It may be better to remove it entirely and make the code base smaller.

Related branches

Changed in lazr.restful:
status: New → Triaged
importance: Undecided → High
tags: added: tech-debt
summary: - representation cache a pessimism
+ representation cache a pessimization
description: updated
tags: added: performance
tags: added: easy
William Grant (wgrant)
Changed in lazr.restful:
assignee: nobody → William Grant (wgrant)
status: Triaged → In Progress
William Grant (wgrant)
Changed in lazr.restful:
assignee: William Grant (wgrant) → nobody
status: In Progress → Triaged
Revision history for this message
Launchpad QA Bot (lpqabot) wrote :
Changed in lazr.restful:
assignee: nobody → William Grant (wgrant)
tags: added: qa-needstesting
Changed in lazr.restful:
status: Triaged → Fix Committed
William Grant (wgrant)
tags: added: qa-ok
removed: qa-needstesting
Changed in lazr.restful:
assignee: William Grant (wgrant) → nobody
status: Fix Committed → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.