For Programmers: Free Programming Magazines  


Home > Archive > Clarion > September 2005 > LOGOUT-COMMIT usage









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author LOGOUT-COMMIT usage
ante@novoles.si

2005-09-23, 3:56 am

Where to put LOGOUT-COMMIT in a process procedure like this in
peer-to-peer small XP network?

Example:

SET(File1)
LOOP
IF Access:File1.TryNext() <> Level:Benign THEN BREAK .
... some preps
DO AddToFile2
DO AddToFile3
END

AddToFile2 ROUTINE

AddToFile3 ROUTINE

-----------------------

thanks, Ante

Steffen Rasmussen

2005-09-23, 7:55 am

You can set it before the set and after the end, for fast processing.
If it is a requirement that that the users should continue working with
File1 while the processing you should place it within the loop.

Steffen

ante

2005-09-27, 3:55 am

Thanks. I just tried that and made a comparison with STREAM.
Performance with LOGOUT was same as case without LOGOUT or
STREAM.
With STREAM performance was drastically better!!!
Tested on XP machine as a server and on XP client machine
(peer-to-peer nw)!

thanks, Ante!

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2009 codecomments.com