I have changed the file access routines, that read or write products, to use file streams. File streams are more efficient than the commands that were previously used. Changing the file access routines was the last thing pending from the original software conversion from 2 to 3.
While changing these routines, I discovered that WxByte and WxIngest were creating the tracking file twice when the first block of a product was received. I eliminited one of those. That will reduce the number of writes to the harddrive.
I also made changes in Weather Message server that will reduce the number of times that it accesses a new product. It was checking the size of the file, then reading the file. This has now been incorporated into one file access.
Although the programs seem to run efficiently like they are now, these changes will make them more efficient and ready for the faster data stream.
Saturday, July 21, 2007
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment