<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix"><tt>Hi, Yavari!<br>
        <br>
        Of course, this will also impact the performance, but I don't
        think it will be something considerable, since we will not
        compress large amount of data.<br>
        Our current tests show that for a 1024 bytes long buffer
        compression/decompression time takes less than 200us for
        compression and 25us for decompression on a comodity computer.
        Since this will only be done on edge nodes, I don't think it has
        such a big impact on the platform.<br>
        <br>
        Best regards,<br>
      </tt>
      <pre class="moz-signature" cols="72">Răzvan Crainea
OpenSIPS Solutions
<a class="moz-txt-link-abbreviated" href="http://www.opensips-solutions.com">www.opensips-solutions.com</a></pre>
      On 09/30/2014 10:26 AM, H Yavari wrote:<br>
    </div>
    <blockquote
      cite="mid:1412061982.23212.YahooMailNeo@web171805.mail.ir2.yahoo.com"
      type="cite">
      <div style="color:#000; background-color:#fff;
        font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial,
        Lucida Grande, sans-serif;font-size:10px">
        <div dir="ltr"><font size="2"><span>Hi to all,</span></font></div>
        <div style="color: rgb(0, 0, 0); font-size: 10px; font-family:
          HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida
          Grande,sans-serif; background-color: transparent; font-style:
          normal;" dir="ltr"><font size="2"><span>This is an amazing
              idea, but I have a question about the performance, the
              compression/decompression  process is not any bottleneck
              for the system performance? or any effect on process
              power?<br>
            </span></font></div>
        <div style="color: rgb(0, 0, 0); font-size: 10px; font-family:
          HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida
          Grande,sans-serif; background-color: transparent; font-style:
          normal;" dir="ltr"><font size="2"><br>
            <span></span></font></div>
        <div style="color: rgb(0, 0, 0); font-size: 10px; font-family:
          HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida
          Grande,sans-serif; background-color: transparent; font-style:
          normal;" dir="ltr"><font size="2"><span>Regards,</span></font></div>
        <div style="color: rgb(0, 0, 0); font-size: 10px; font-family:
          HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida
          Grande,sans-serif; background-color: transparent; font-style:
          normal;" dir="ltr"><span><font size="2">H.Yavari</font><br>
          </span></div>
        <div style="color: rgb(0, 0, 0); font-size: 10px; font-family:
          HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida
          Grande,sans-serif; background-color: transparent; font-style:
          normal;" dir="ltr"><span></span></div>
        <div><br>
        </div>
        <div style="font-family: HelveticaNeue, Helvetica Neue,
          Helvetica, Arial, Lucida Grande, sans-serif; font-size: 10px;">
          <div style="font-family: HelveticaNeue, Helvetica Neue,
            Helvetica, Arial, Lucida Grande, Sans-Serif; font-size:
            12px;">
            <div class="y_msg_container">
              <hr size="1"> <font face="Arial" size="2"> <b><span
                    style="font-weight:bold;"></span></b></font><br>
              <div dir="ltr">On 03.09.2014 11:59, Saúl Ibarra Corretgé
                wrote:<br clear="none">
                &gt; Hi Razvan,<br clear="none">
                &gt;<br clear="none">
                &gt; On 02 Sep 2014, at 18:25, Răzvan Crainea &lt;<a
                  moz-do-not-send="true" shape="rect"
                  ymailto="mailto:razvan@opensips.org"
                  href="mailto:razvan@opensips.org">razvan@opensips.org</a>&gt;
                wrote:<br clear="none">
                &gt;<br clear="none">
                &gt;&gt; 2)Compressing the SIP message (using gzip). The
                idea is to take the SDP body and several headers that
                are not used in the routing logic, compress them, apply
                a base64 transformation and add to the message's body. A
                use case for this is a platform that has several edge
                servers (SBCs) and a few core instances - when entering
                the platform the message compression should be applied
                and then sent to the core servers. Inside the core
                networks, the messages should be carried in the
                compressed format to reduce the bandwidth. When leaving
                the network, the message has to be decompressed and
                forwarded to the next gateway without any compression,
                since the other equipments might not understand them.<br
                  clear="none">
                &gt;&gt; There will be several functions exported in the
                script:<br clear="none">
                &gt;&gt;<br clear="none">
                &gt;&gt;    a) compress_msg("1","Header1|Header2");
                compresses the body of the message and listed headers<br
                  clear="none">
                &gt;&gt;    b) decompress_msg(); decompress both headers
                and body<br clear="none">
                &gt;&gt;<br clear="none">
                &gt;&gt; What do you think about this approach? Is this
                something you find useful? Since we don't have a final
                decision for this topic, we are looking for more input
                from you guys.Anybody is welcome to throw any kind of
                useful feedback on this matter, so don't be shy!<br
                  clear="none">
                &gt;&gt;<br clear="none">
                &gt;<br clear="none">
                &gt; IIRC this is not standard, and Apple uses it
                somewhere on their FaceTime implementation. Kamailio has
                it and someone was working on a patch for PJSIP, but
                other than that I’m not sure how useful it is, servers
                could use TCP between them.<br clear="none">
                It is not indeed, but the main idea is to first help you
                with better <br clear="none">
                handling traffic inside your network (which may be up to
                3 or 4 OpenSIPS <br clear="none">
                boxes when you have a distributed platform) ; handling
                means bandwidth <br clear="none">
                and processing as parsing SIP messages - like headers
                (maybe 20) or body <br clear="none">
                you do not care about and you just want to carry through
                without a need <br clear="none">
                to parse and look.<br clear="none">
                <br clear="none">
                And maybe in the future it will be some progress into <br
                  clear="none">
                standardization....for now I see the real need for it
                (at least for me:) ).<br clear="none">
                <br clear="none">
                Regards,<br clear="none">
                Bogdan
                <div class="qtdSeparateBR"><br>
                  <br>
                </div>
                <div class="yqt3048879261" id="yqtfd17734"><br
                    clear="none">
                  <br clear="none">
                  _______________________________________________<br
                    clear="none">
                  Users mailing list<br clear="none">
                  <a moz-do-not-send="true" shape="rect"
                    ymailto="mailto:Users@lists.opensips.org"
                    href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br
                    clear="none">
                  <a moz-do-not-send="true" shape="rect"
                    href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
                    target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br
                    clear="none">
                </div>
              </div>
              <br>
              <br>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>