2014-02-05 11:03:50 |
Matthew Gilliard |
bug |
|
|
added bug |
2014-02-05 11:04:08 |
Matthew Gilliard |
summary |
memorycache get scans the whole cache for expired items on every fetch |
memorycache#get scans the whole cache for expired items on every fetch |
|
2014-02-05 11:04:49 |
Matthew Gilliard |
description |
Every time an item is fetched from the memory cache, the whole cache is scanned for expired items:
https://github.com/openstack/nova/blob/master/nova/openstack/common/memorycache.py#L63-L67
This is not the right place - there should be a periodic task to take care of expired items. |
Every time an item is fetched from the memory cache, the whole cache is scanned for expired items:
https://github.com/openstack/nova/blob/master/nova/openstack/common/memorycache.py#L63-L67
This is not the right place to expire items - a large cache can become slow. There should be a periodic task to take care of expired items. |
|
2014-02-05 11:05:08 |
Matthew Gilliard |
bug |
|
|
added subscriber jan grant |
2014-02-05 15:57:49 |
Matthew Gilliard |
nova: assignee |
|
Matthew Gilliard (matthew-gilliard-u) |
|
2014-02-05 15:58:00 |
Matthew Gilliard |
nova: status |
New |
In Progress |
|
2014-02-05 16:21:21 |
Joe Gordon |
bug task added |
|
oslo |
|
2014-02-05 16:21:57 |
Joe Gordon |
oslo: status |
New |
Confirmed |
|
2014-02-06 07:40:02 |
Matthew Gilliard |
oslo: assignee |
|
Matthew Gilliard (matthew-gilliard-u) |
|
2014-02-06 15:33:24 |
OpenStack Infra |
oslo: status |
Confirmed |
In Progress |
|
2014-05-30 09:36:07 |
Matthew Gilliard |
description |
Every time an item is fetched from the memory cache, the whole cache is scanned for expired items:
https://github.com/openstack/nova/blob/master/nova/openstack/common/memorycache.py#L63-L67
This is not the right place to expire items - a large cache can become slow. There should be a periodic task to take care of expired items. |
Every time an item is fetched from the memory cache, the whole cache is scanned for expired items:
https://github.com/openstack/nova/blob/master/nova/openstack/common/memorycache.py#L63-L67
This is not the right place to expire items - a large cache can become slow. There should be a more sensible approach to the (difficult) problem of cache expiry. |
|
2014-05-30 13:11:19 |
OpenStack Infra |
oslo: assignee |
Matthew Gilliard (matthew-gilliard-u) |
Tom Cammann (tom-cammann) |
|
2014-06-02 22:41:34 |
Ben Nemec |
oslo: importance |
Undecided |
Low |
|
2014-07-10 13:19:40 |
Davanum Srinivas (DIMS) |
oslo: status |
In Progress |
Triaged |
|
2014-07-10 13:19:47 |
Davanum Srinivas (DIMS) |
nova: status |
In Progress |
Triaged |
|
2014-07-10 14:57:52 |
Ben Nemec |
oslo: status |
Triaged |
Won't Fix |
|
2014-07-10 19:45:08 |
Joe Gordon |
bug task deleted |
nova |
|
|