Re: [elephant-devel] Cached slots

2008-09-27 Thread Ian Eslick
Leslie, A few of the prior messages are proof that my memory is full of holes these days, so take this with a grain of salt! This is very unfinished stuff. Cached operations has been tested minimally interactively, but hasn't been verified via test suites nor used in any significant way

[elephant-devel] Cached slots

2008-09-27 Thread Leslie P. Polzer
Are these supposed to work, or is this unfinished stuff? -- LinkedIn Profile: http://www.linkedin.com/in/polzer Xing Profile: https://www.xing.com/profile/LeslieP_Polzer Blog: http://blog.viridian-project.de/ ___ elephant-devel site list elephant-deve

Re: [elephant-devel] Cached slots

2008-05-18 Thread Leslie P. Polzer
> Feel free to play - Leslie I'd love to see if this fits your use > case. I took a look at the API, and it seems to be exactly the thing I need (and likely beyond that!). Not sure about the naming, though. I'm quite amazed at the stuff you implemented in the last few weeks. Now I only need DBP

[elephant-devel] Cached slots

2008-05-17 Thread Ian Eslick
I just pushed a patch implementing the cached-slot model I described earlier. I haven't fully exercised it, but it basically works. You can simply tell an instance what you want it to do with slots by setting (setf (cache-mode instance) :all-cached) Other options are :none-cached, :write

Re: [elephant-devel] Cached slots and other tweaks for 1.0

2008-05-14 Thread Ian Eslick
That might be a better approach than what I have now. I'll think about this. Thank you for the suggestion! Ian On May 14, 2008, at 3:17 AM, Leslie P. Polzer wrote: Also, cached slots are not currently thread safe. If you don't guarantee that only one thread at a time is working on a par

Re: [elephant-devel] Cached slots and other tweaks for 1.0

2008-05-14 Thread Leslie P. Polzer
> Also, cached slots are not currently thread safe. If you don't > guarantee that only one thread at a time is working on a particular > object, you can get problems. These slot values are not isolated by > the transaction mechanism. I'm not sure we should solve that; the > protection for cache

Re: [elephant-devel] Cached slots and other tweaks for 1.0

2008-05-12 Thread Ian Eslick
On May 12, 2008, at 10:23 AM, Leslie P. Polzer wrote: - Currently cached slots are not rolled back to their initial value if transaction aborts. I can add a facility to push the cached value on the initial read into a per-transaction list that can be used to reset the cached slots on an

Re: [elephant-devel] Cached slots and other tweaks for 1.0

2008-05-12 Thread Leslie P. Polzer
> - Currently cached slots are not rolled back to their initial value if > transaction aborts. I can add a facility to push the cached value on > the initial read into a per-transaction list that can be used to reset > the cached slots on an abort. Would it be possible to automatically restore t

[elephant-devel] Cached slots and other tweaks for 1.0

2008-05-12 Thread Ian Eslick
Cached slots: - - Currently cached slots are not rolled back to their initial value if transaction aborts. I can add a facility to push the cached value on the initial read into a per-transaction list that can be used to reset the cached slots on an abort. Should this be by d