Respected Monks,

Firstly thank you very much for all the support provided through which we could learn and develop our technical standards.

Actually we are in the process of developing a Web-based Application using Perl and CGI, which should display a complete health status of the systems in the client env.

So, initially we have developed few web-based applications to monitor each system individually and also few multi-threaded applications

In case of multi-threaded application, I have a scenario to distribute a file to all the remote systems ( Keep env in sync )

- Using Multi Threading connect to all systems

- Take a backup of the existing file

- Replace it with the new one

- Check if the modifications does not raise any error.

Have used Perl v5.8.5 on FC 4 Linux and Solaris 9 Boxes tested the application. The application works fine but it takes time, since we use around 10 - 15 hosts.

Used Perl module Net::SSH::Expect and threads, Threads::Shared modules to connect to all the remote hosts using multi-threading ability.

Since the client is now asking for a Dashboard to show all the system health status, we are planning to use the multi-threading concept itself. But we need to make the processing more faster. The client is happy with everything but he needs more responsiveness. The application needs to be faster enough.

Please help me or let me know is there any way to enhance the performance and make the application process faster. The application would take atleast 1 or 1.5 min to process. Some times we need to increase the Apache timeout from 120 secs to 180 secs which is not a feasible solution.

Thanks In Advance

Sushil Kumar

In reply to Enhance the Web-Application processing time by msk_0984

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.