Site to Site Communication (with or without) PDL

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Site to Site Communication (with or without) PDL

  • Creator
    Topic
  • #48962
    Amit Anand
    Participant

      Hi Guys

      We are doing site to site communication in two different ways:

      1. With use of PDL ( lenAck.pdl) tcpip connection:

      This pdl driver manages the transmission of messages using 4 byte binary

      length encoding.  Acknowledgements are also processed within the pdl.

      2. Without any PDL, simple tcpip connection:

      This way a simple tcpip connection is established with a specific port on localhost.

      Any recomendations as to which one of the two is better and for what reasons.

      Thanks for the help,

      Amit

    Viewing 1 reply thread
    • Author
      Replies
      • #60255
        Charlie Bursell
        Participant

          IMHO, the standard TCP/IP (Length Encoded) Prototocol is more ergonomic since the driver does not have to examine every byte as it would for encapsulated (MLP).

          Just use the defaults and set up recover_33 as with any thread.  The only things I do different is to send back a simple ACK rather than an HL7 ACK and set a long timeout, typically 300, in the await Replies.

        • #60256
          Jim Kosloskey
          Participant

            Amit,

            I also prefer the length-encoded protocol.

            However, when the receiving thread is down, the log in the sending site will contain ‘reconnect’ noise that is not there with PDL. Some find this unsavory – not me.

            I also prefer a short ‘ACK’ reply message.

            Jim Kosloskey

            email: jim.kosloskey@jim-kosloskey.com 29+ years Cloverleaf, 59 years IT - old fart.

        Viewing 1 reply thread
        • The forum ‘Cloverleaf’ is closed to new topics and replies.