2011-05-11 01:32:22 |
Robert Collins |
bug |
|
|
added bug |
2011-05-11 01:32:43 |
Robert Collins |
removed subscriber Robert Collins |
|
|
|
2011-05-11 01:32:54 |
Robert Collins |
lazr.restful: status |
New |
Triaged |
|
2011-05-11 01:32:56 |
Robert Collins |
lazr.restful: importance |
Undecided |
High |
|
2011-05-11 01:33:05 |
Robert Collins |
tags |
|
tech-debt |
|
2011-05-11 01:34:23 |
Robert Collins |
summary |
representation cache a pessimism |
representation cache a pessimization |
|
2011-05-11 01:34:34 |
Robert Collins |
description |
The lazr restful representation cache is a pessimism: its 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. |
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. |
|
2012-01-29 21:14:17 |
Robert Collins |
tags |
tech-debt |
performance tech-debt |
|
2012-01-29 21:14:30 |
Robert Collins |
tags |
performance tech-debt |
easy performance tech-debt |
|
2012-01-31 00:47:40 |
William Grant |
lazr.restful: assignee |
|
William Grant (wgrant) |
|
2012-01-31 00:47:42 |
William Grant |
lazr.restful: status |
Triaged |
In Progress |
|
2012-01-31 01:24:25 |
Launchpad Janitor |
branch linked |
|
lp:~wgrant/launchpad/no-representationcache |
|
2012-01-31 06:02:55 |
William Grant |
lazr.restful: assignee |
William Grant (wgrant) |
|
|
2012-01-31 06:02:58 |
William Grant |
lazr.restful: status |
In Progress |
Triaged |
|
2012-01-31 23:50:28 |
Launchpad QA Bot |
lazr.restful: assignee |
|
William Grant (wgrant) |
|
2012-01-31 23:50:30 |
Launchpad QA Bot |
tags |
easy performance tech-debt |
easy performance qa-needstesting tech-debt |
|
2012-01-31 23:50:31 |
Launchpad QA Bot |
lazr.restful: status |
Triaged |
Fix Committed |
|
2012-02-01 03:32:27 |
William Grant |
tags |
easy performance qa-needstesting tech-debt |
easy performance qa-ok tech-debt |
|
2012-02-01 03:32:28 |
William Grant |
lazr.restful: assignee |
William Grant (wgrant) |
|
|
2012-02-01 03:32:30 |
William Grant |
lazr.restful: status |
Fix Committed |
Triaged |
|