<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Oct 10, 2014 at 9:39 PM, Ahmed Al -Ghafri <span dir="ltr"><<a href="mailto:al-ghafri@hotmail.com" target="_blank">al-ghafri@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">


<div><div dir="ltr"><div style="line-height:22.7199993133545px;color:rgb(68,68,68);font-family:Calibri;background-color:rgb(255,255,255)">Hi Juili,</div><div style="line-height:22.7199993133545px;color:rgb(68,68,68);font-family:Calibri;background-color:rgb(255,255,255)">Some questions in the configuration scenarios are in my mind. If I can get answer from your side I would be thankful.</div><div style="line-height:22.7199993133545px;color:rgb(68,68,68);font-family:Calibri;background-color:rgb(255,255,255)"><br style="line-height:22.7199993133545px"></div><div style="line-height:22.7199993133545px;color:rgb(68,68,68);font-family:Calibri;background-color:rgb(255,255,255)"><b style="line-height:22.7199993133545px">1)</b> Is possible to have  optimization techniques: Compression + Deduplication working together? if yes, how WANProxy can manage whether to compress or to deduplicate data?</div></div></div></blockquote><div><br></div><div>It may be worth using Google to try to find some previous posts on this in the list archives as I'm sure I've given more detailed responses than I will at present, but in short: if you look at the SSH example, for instance: <a href="http://wanproxy.org/ssh.shtml">http://wanproxy.org/ssh.shtml</a></div><div><br></div><div>You'll see that for each half of the proxy ("interface" and "peer" for obtuse reasons) you can assign a codec.  That codec may be configured with either XCodec (which does deduplication) or no codec (so no deduplication), as well as with a compressor.  The compression uses zlib, and you can set the compression level, so that e.g. on a low-CPU box you might set it lower, and on a high-CPU box with a lot of data that benefits from compression, you may set it higher.  WANProxy manages it by you configuring it.  Deduplication is done by the data before compression, and then the deduplicated data is compressed.  Does that answer your question?</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div dir="ltr"><div style="line-height:22.7199993133545px;color:rgb(68,68,68);font-family:Calibri;background-color:rgb(255,255,255)"><b style="line-height:22.7199993133545px">2)</b> Can I enable  Compression + Deduplication bidirectionally? I mean can I do optimization both up stream & down stream from client to server & server to client?</div></div></div></blockquote><div><br></div><div>You can configure the codecs to do whatever you want in either direction, compression and deduplication or just compression or just deduplication or neither, and you can configure each direction separately.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div dir="ltr"><div style="line-height:22.7199993133545px;color:rgb(68,68,68);font-family:Calibri;background-color:rgb(255,255,255)">Kindest regards,</div><div style="line-height:22.7199993133545px;color:rgb(68,68,68);font-family:Calibri;background-color:rgb(255,255,255)">Ahmed</div>                                     </div></div>
<br>_______________________________________________<br>
wanproxy mailing list<br>
<a href="mailto:wanproxy@lists.wanproxy.org">wanproxy@lists.wanproxy.org</a><br>
<a href="http://lists.wanproxy.org/listinfo.cgi/wanproxy-wanproxy.org" target="_blank">http://lists.wanproxy.org/listinfo.cgi/wanproxy-wanproxy.org</a><br>
<br></blockquote></div><br></div></div>