[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [myexperiment-hackers] Possible major caching issue on myExperiment
From: |
Danius Michaelides |
Subject: |
Re: [myexperiment-hackers] Possible major caching issue on myExperiment |
Date: |
Mon, 22 Jun 2009 11:22:18 +0100 (BST) |
On Sun, 21 Jun 2009, Jiten Bhagat wrote:
Sergey and I have brought up this question before, but I just wanted to check
again.
When things are created via the API (currently workflows and comments), are
the caches invalidated?
My understanding is that we are using sweepers to invalidate caches. But
sweepers are only "activated" in controllers. Does the API controller
activate the sweepers?
With the latest work on workflow uploads from Trident, with Taverna following
suite some point soon, it's crucial that the caches get invalidated when a
workflow is uploaded via the API.
Also, the sweepers mechanism won't invalidate caches when objects are
created/updated/deleted from the console or background tasks (and so on).
Indeed. Before Don went on holiday, he and I had a conversation about this
and about what to do. Moving the sweepers onto the models is one option.
Refactoring the sweepers (and controller config) to make it easier to
integrate with the API is another.
Something to pick up when Don returns next week.
Danius