Done<div><br></div><div><a href="https://jira.jboss.org/jira/browse/ISPN-357">https://jira.jboss.org/jira/browse/ISPN-357</a></div><div><br></div><div>Phil<br><br><div class="gmail_quote">On Thu, Feb 25, 2010 at 12:22 PM, Manik Surtani <span dir="ltr">&lt;<a href="mailto:manik@jboss.org">manik@jboss.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div style="word-wrap:break-word"><br><div><div class="im"><div>On 25 Feb 2010, at 11:17, Philippe Van Dyck wrote:</div>
<br><blockquote type="cite">Thanks Manik but it is actually related to the compression of the stored and (https) transferred ones on the S3 side.<div>The S3 bill is 95% lower here... and https transfer time is lower too (you pay for booth).</div>
</blockquote><div><br></div></div><div>Makes sense.  Create a JIRA for this, I&#39;m sure such a feature would be generically useful to others as well - if you&#39;re happy to contribute your work back in.  :)</div><div class="im">
<br><blockquote type="cite"><div>The Marshaller interface is exposing a lot of methods and it looks like the call each other... </div></blockquote><div><br></div></div><div>The original Marshaller interface is legacy, from JBoss Cache, which was built as an extension to JGroups&#39; Marshaller interface.  It may look a little confusing as a result, but have a look at the AbstractMarshaller which should help simplify things.  Further, look at the VersionAwareMarshaller, which is the entry point into the marshalling system.</div>
<div><br></div><div>HTH</div><div>Manik</div><div><div></div><div class="h5"><div><br></div><div><br></div><br><blockquote type="cite"><div><br></div><div>phil <br><br><div class="gmail_quote">On Thu, Feb 25, 2010 at 12:11 PM, Manik Surtani <span dir="ltr">&lt;<a href="mailto:manik@jboss.org" target="_blank">manik@jboss.org</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">If it is compression for transmission you are concerned about, you can do this by adding the JGroups COMPRESS protocol to your JGroups cfg.<br>


<div><div></div><div><br>
On 25 Feb 2010, at 11:02, philippe van dyck wrote:<br>
<br>
&gt; Hi All,<br>
&gt;<br>
&gt; Currently, I compress all data before sending it to the cache. Once compressed, I gain 95% of the JSonized qi4j objects.<br>
&gt;<br>
&gt; I did some profiling during the load tests and compression is taking roughly 80% of the cpu time.<br>
&gt; So I would like to compress only the data sent to the store, not in memory.<br>
&gt;<br>
&gt; Looks like the Marshaller is my friend here, and I plan to write a compressing wrapper around it.<br>
&gt;<br>
&gt; Now, when I look at it, I see two ways to wrap the compression process.<br>
&gt;<br>
&gt; One way is with the ObjectInput / ObjectOutput but I am bothered by the reentrant flag.<br>
&gt; The other is the ByteBuffer stuff, no concurrency problem here, but it looks like more work.<br>
&gt;<br>
&gt; WDYT ?<br>
&gt;<br>
&gt; Cheers,<br>
&gt;<br>
&gt; phil<br>
</div></div>&gt; _______________________________________________<br>
&gt; infinispan-dev mailing list<br>
&gt; <a href="mailto:infinispan-dev@lists.jboss.org" target="_blank">infinispan-dev@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/infinispan-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/infinispan-dev</a><br>
<br>
--<br>
Manik Surtani<br>
<a href="mailto:manik@jboss.org" target="_blank">manik@jboss.org</a><br>
Lead, Infinispan<br>
Lead, JBoss Cache<br>
<a href="http://www.infinispan.org/" target="_blank">http://www.infinispan.org</a><br>
<a href="http://www.jbosscache.org/" target="_blank">http://www.jbosscache.org</a><br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
infinispan-dev mailing list<br>
<a href="mailto:infinispan-dev@lists.jboss.org" target="_blank">infinispan-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/infinispan-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/infinispan-dev</a><br>
</blockquote></div><br></div>
_______________________________________________<br>infinispan-dev mailing list<br><a href="mailto:infinispan-dev@lists.jboss.org" target="_blank">infinispan-dev@lists.jboss.org</a><br><a href="https://lists.jboss.org/mailman/listinfo/infinispan-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/infinispan-dev</a></blockquote>
</div></div></div><div><div></div><div class="h5"><br><div>
<span style="border-collapse:separate;color:rgb(0, 0, 0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="border-collapse:separate;color:rgb(0, 0, 0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div style="word-wrap:break-word">
<div>--</div><div>Manik Surtani</div><div><a href="mailto:manik@jboss.org" target="_blank">manik@jboss.org</a></div><div>Lead, Infinispan</div><div>Lead, JBoss Cache</div><div><a href="http://www.infinispan.org" target="_blank">http://www.infinispan.org</a></div>
<div><a href="http://www.jbosscache.org" target="_blank">http://www.jbosscache.org</a></div><div><br></div></div></span><br></span><br>
</div>
<br></div></div></div><br>_______________________________________________<br>
infinispan-dev mailing list<br>
<a href="mailto:infinispan-dev@lists.jboss.org">infinispan-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/infinispan-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/infinispan-dev</a><br></blockquote></div><br></div>