discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Q] Question on GDL2


From: NeXT
Subject: Re: [Q] Question on GDL2
Date: Fri, 26 Mar 2004 19:46:23 +0900

Hmm, I think the data is not cached, but yes, after some testing, the data is cached. So, here comes another question ? :-) How one process can notify other processes, a data is changed so the cached data should be updated or refetched ? Through distributed notification? Or automatically done? And though caching is done, raw mysql query and fetch result is faster... seems very strange. If I recache the data using NSDictionary, it's very fast... Why EOF cache is slower than simple NSDictionary... ?

Thanks in advance.

On 2004-03-26 17:16:37 +0900 Manuel Guesdon <ml@orange-concept.com> wrote:

Hi,

On Fri, 26 Mar 2004 17:02:45 +0900 NeXT <chunsj@embian.com> wrote:
| When I fetch a record using EOEditingContext, the record is cached or >| not ? If not, is there any way of caching the | result ? I'm currently making a daemon which serves as DB frontend for >| searching information. For the sake of
| speed, I want to cache results.

Yes, the record is cached. If you do same requests 2 times, the request will be processed t2 times but the 2nd time, it will see it have already the object corresponding to fetched object primary key and don't recreate a record for it.

Manuel








reply via email to

[Prev in Thread] Current Thread [Next in Thread]