| 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
| |
|
| 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!
|
|
|
|