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><div>
<br></div><div>The Marshaller interface is exposing a lot of methods and it looks like the call each other... </div><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">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 class="h5"><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">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">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">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>