Closed
Bug 576106
Opened 14 years ago
Closed 10 years ago
[k] Make Tag models memcacheable
Categories
(support.mozilla.org :: Questions, task)
support.mozilla.org
Questions
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: erik, Unassigned)
Details
Perhaps use a proxy model. Putting this off till after the Summit in favor of more demo-able stuff.
Updated•14 years ago
|
Component: Forum → Questions
Reporter | ||
Comment 1•14 years ago
|
||
This turns into a serious dive into cache invalidation. Pushing out of 2.2. jsocol says the DB won't catch on fire. Notes about how to resume implementation are at http://github.com/erikrose/kitsune/blob/576106-memcache-tags/apps/questions/tests/test_models.py#L183. In summary, Cache Machine doesn't yet support invalidation along many-to-many relationships, largely because the traffic to and from memcached can be immense. Also, it doesn't yet support invalidation along GenericForeignKeys (though that's easier to fix).
Target Milestone: 2.2 → 2.3
Reporter | ||
Comment 2•14 years ago
|
||
Sticking our flush lists in redis should make the many-to-many invalidation we need much more feasible.
Reporter | ||
Comment 4•14 years ago
|
||
taggit 0.9 allows for custom Tag models and should thus make this more possible. http://alexgaynor.net/2010/sep/21/django-taggit-09-released/
Reporter | ||
Updated•14 years ago
|
Assignee: erik → nobody
Comment 5•12 years ago
|
||
P2 leads me to believe that this was considered quite high priority. Does it still make sense to cache these? Or can we close this bug?
Comment 6•12 years ago
|
||
Let's hold off until we implement the new IA and then make a call. We may reduce our usage of taggit or kill it altogether. It definitely isn't a P2 at the moment.
Priority: P2 → --
Comment 7•10 years ago
|
||
We do cache tags. we just dont use cache-machine.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•