Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Curiousity on a Wish rating
Message
From
05/02/2003 04:06:03
 
 
To
04/02/2003 11:19:38
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00748446
Message ID:
00749261
Views:
22
>Vlad,
>
>>This wish is about flushing CLIENT buffers from VFP application internal cache.
>
>Then one of us is not interpreting the wish correctly. Based my discussion with Jim in this thread, I believe he wants VFP (on the client) to know that the data was physically written to the disk, on the server.
>

It is just NOT POSSIBLE for server. If possible, it would take too much overhead and woul kill the entire idea of caching. Think - it requires CLIENT rule how SERVER manages storage. I think it is on level of remote controlling through network, and usually it requires administrative rights on the server, that is not a good idea.

As I said, server should decide by self: cache or not to cache. I vote for cache (that means I vote against this wish, if it is, indeed, about complete controlling of writing to disk).

Explanation is simple. Server usually very rarely hit by power off without correct shutdown, so it is not worth a trouble to think about when and how physically data are written to disk.

I agree with this wish only for LOCAL (CLIENT) data. There IS a way (as far as I know) to tell OS to do not buffer or cache certain files, locally.

Jim, I think you should re-phrase this wish to make it more clear. FLUSH should control caching only for LOCAL computer, where it have control and power to do so. It should not do this for any other kind of storage, because no controlling on the way that storage manages cache and writes.

Please, improve your wish.

If it is only about SERVER - I also would vote against it, because, TECHNICALLY, I see it useless and very hard to implement.

>Look at Re: Curiousity on a Wish rating Thread #748446 Message #748554, the second to the last paragraph, and our discussion following that point.
>
>>
>>Main task of FLUSH is to assure that VFP write-behind buffers are written. Lie controler or do not lie - it is system administration issue and have no any relation to FLUSH and to this wish.
>>
>
>Jim, perhaps you can clarify the scope of your wish. However, I still don't believe VFP should have any say in the physical layer, even at the local level.


I also think so.
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform