A tightly coupled system is, at least for this discussion, a system where the whole process comes to an immediate halt once a single component fails. For example, with XMLRPC/SOAP, as soon as one of the two computers becomes unavailable, the other one can't work anymore, and there is no method of manual intervention to fix it. Tight coupling has the advangtage of close process control in the sense that you get an immediate feedback of the next system whether and when your data was processed.

If you do a loosely coupled system, where you pass the data on to the next program by mail, file or database, you lose this close control, but you gain buffering. Mails, files or database entries can stack up without problems, even if the system behind it fails. If the producing system fails, the production can be manually maintained by manually producing the input. If the consuming system fails, you can either wait and keep the input piling up or manually transfer the input to a second backup machine, which then produces the output. There is more possibility of human intervention in loosely coupled systems.

I have never personally used SOAP::Lite, as I am no great fan of RPC over port 80. If interactivity and immediate response is not important to your requests, go the loosely coupled route. It makes for easier testing, easier error recovery and easier monitoring of the whole system.


In reply to Re^5: Win32::OLE, TPJ#10, linux by Corion
in thread Win32::OLE, TPJ#10, linux by Anonymous Monk

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.