From: Michael B. <mic...@cm...> - 2003-09-26 08:29:35
|
Al-Amood, Bahaaldin wrote: > Hi all > I agree with Michael as it is not such a good idea to have a separate > lib for each function and here is why. each time we need these libs > the system will have to make a separate IO call to the kernel, and > that comes with it's own set of delays. Making small but many file > reads has worst performance than making few but larger file reads. > > We could rethink the arrangement of the functions in the libs and > maybe come up with more efficient arrangement, and we can load only > needed libs for a cmd. another idea is what if we do away with libs > and add all the functions to the appropriate modules. that would > improve performance especially if one uses mod_perl Ok, I'm a fan of classes and we heavily work on the HTML output actually. So what do you think about two classes OpenCA::UI::HTML which include all HTML output functionalities and OpenCA::Utilities which include the stuff from misc-utils etc.? These classes would reduce the loading time dramtically if mod_perl is activated. Another problem is the crypto library. Parts of this library are OpenSSL specific and must be moved to OpenCA::OpenSSL or OpenCA::Token::OpenSSL. Other parts can be integrated into OpenCA::Utilities. If we move these libraris then we get a problem with our conventional configurationfiles. Any comments about these ideas? Michael -- ------------------------------------------------------------------- Michael Bell Email: mic...@cm... ZE Computer- und Medienservice Tel.: +49 (0)30-2093 2482 (Computing Centre) Fax: +49 (0)30-2093 2704 Humboldt-University of Berlin Unter den Linden 6 10099 Berlin Email (private): mic...@we... Germany http://www.openca.org |