Link to home
Start Free TrialLog in
Avatar of kshireesh
kshireesh

asked on

CACHE memory/consistency problem

we already know that a client cache manager knows if a file in its cache is still up to date. the method suggest was to contact the server and have the server compare the client and server times.


SO my question is :

Does this method fail if the client and server clocks are very different?
ASKER CERTIFIED SOLUTION
Avatar of SunBow
SunBow
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
c1) client can compare datestamp it was just told, with the one it has recorded previously

or,,,

b1) server compares datestamp of client record with its own, and takes action accordingly

Clocks not used in process. Note that none of datestamps concerning files were ever created by client. And I make no claim either for server times, the file(s) could have been prepared by a third party. And it could be the 3rd party clock is only issue, for being synchronized well with anything.
Avatar of st_steve
st_steve

No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is to:

Accept SunBow's comments as answer

Please leave any comments here within the next seven days.
 
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
 
st_steve
EE Cleanup Volunteer
Per recommendation.

YensidMod
EE Moderator