|
Albert > Years ago I was called in to work on a new application that was having > severe performance problems. The designers had come up with a great way > (they thought) to control file access. For each file, they wrote a "server" > program. The application programs accessed the file only through these > server programs. Files were not opened directly, all reads, writes, and > updates were done through these calls. Naturally this caused a performance > hit by itself But on top of that, for some reason, they coded all of these > server programs to set on LR before returning. We gained big boost simply by > removing that one line from each program. Then, as the application was > maintained, we got rid of the server programs and brought the files back > into the program. Getting rid of LR was obviously a good idea, but I cannot see a reason for getting rid of the "server " programs. I separated my User Interface logic from database logic many years ago and got average response times on a B10 of about 0.3 - 0.4 seconds. This was far better than most people expected on a B10. I don't believe that there was a significant performance hit. If you have more than one program that calls each of the server programs, and you have had to modify each of those, you surely have much more code to maintain as a result. Best wishes Rob ________________________________________________________ Erros plc 44 (0) 1844 239 339 http://www.erros.co.uk - The AS/400 Neural Database for the Internet _________________________________________________________ +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.