Hi Ole!

On 04/07/2008 10:22 AM Ole Marius Smestad wrote:
> On 27. mars. 2008, at 10.00, Tobias Schlitt wrote:

>> I started desigining the new features for Cache 1.4, which should
>> realize hierarchical caching. Since this topic is not trivial, I started
>> with a short summary of requirements and problems to be solved.
>>
>> Please review this and state your comments. You can find the document
>> either in SVN under Cache/design/design-1.4.txt or in HTML format here:
>>
>> http://schlitt.info/ez/cache_design-1.4.html

> Hi Tobias,
> just a small question. Do you have any ideas how to approach locking, as
> mentioned in the last chapter? With that, I am also thinking, how
> locking would work, or even be supported under Windows.

I did not deal with this in concrete, yet. As a rough idea, I think the
only possibility is to lock a cache completly while doing a store() or a
delete() operation. For the file system based caches, this would mean
the creation of a certain file to obtain a lock and the removal, on
release. Not sure how this will work out.

I still have a weak feeling in my stomack about locking in general,
since caching and locking usually don't fit together. However, I don't
see a way around it.

I'm currently working on the design and will post the initial draft here
later today or tomorrow. Any ideas in this direction are highly welcome.

Regards,
Toby
-- 
Mit freundlichen Grüßen / Med vennlig hilsen / With kind regards

Tobias Schlitt (GPG: 0xC462BC14) eZ Components Developer

[EMAIL PROTECTED] | eZ Systems AS | ez.no
-- 
Components mailing list
[email protected]
http://lists.ez.no/mailman/listinfo/components

Reply via email to