<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Must java.io.tmpdir be on the same filesystem as the binary store in order to leverage NXP-9361 no-copy optimization in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/must-java-io-tmpdir-be-on-the-same-filesystem-as-the-binary/m-p/326779#M13780</link>
    <description>&lt;P&gt;Yes, the binary store has its own temporary directory on the binary store filesystem for temporary storage during creation, but that's not the only relevant case for no-copy optimizations. For the pure use-case of &lt;A href="https://jira.nuxeo.com/browse/NXP-9361"&gt;NXP-9361&lt;/A&gt; where you provide an &lt;CODE&gt;InputStream&lt;/CODE&gt; then yes &lt;CODE&gt;java.io.tmpdir&lt;/CODE&gt; is not relevant.&lt;/P&gt;
&lt;P&gt;The issue with no-copy optimizations is that the initial file containing the binary that is being sent to Nuxeo VCS for storage (through the creation of a Blob for instance) may be created by a third-party library as a file and not a stream, for instance the RichFaces file upload component. For no-copy we want whatever temporary file RichFaces provided us to be used directly, so we have to make sure it's already on the proper filesystem, and we do that by setting &lt;CODE&gt;java.io.tmpdir&lt;/CODE&gt;.&lt;/P&gt;</description>
    <pubDate>Thu, 16 May 2013 13:23:57 GMT</pubDate>
    <dc:creator>Florent_Guillau</dc:creator>
    <dc:date>2013-05-16T13:23:57Z</dc:date>
    <item>
      <title>Must java.io.tmpdir be on the same filesystem as the binary store in order to leverage NXP-9361 no-copy optimization</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/must-java-io-tmpdir-be-on-the-same-filesystem-as-the-binary/m-p/326778#M13779</link>
      <description>&lt;P&gt;The upgrade notes of &lt;A href="https://jira.nuxeo.com/browse/NXP-9361"&gt;NXP-9361&lt;/A&gt; seem to indicate that &lt;CODE&gt;java.io.tmpdir&lt;/CODE&gt; must be on the same filesystem as the binary store in order to leverage the &lt;A href="https://jira.nuxeo.com/browse/NXP-9361"&gt;NXP-9361&lt;/A&gt; no-copy optimization. This does not seem correct. Rather, doesn't the binary store have its own temporary directory on the binary store filesystem for temporary storage during creation? If this is the case, how is &lt;CODE&gt;java.io.tmpdir&lt;/CODE&gt; referenced in the upgrade notes relevant?&lt;/P&gt;</description>
      <pubDate>Wed, 15 May 2013 20:31:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/must-java-io-tmpdir-be-on-the-same-filesystem-as-the-binary/m-p/326778#M13779</guid>
      <dc:creator>rg1_</dc:creator>
      <dc:date>2013-05-15T20:31:04Z</dc:date>
    </item>
    <item>
      <title>Re: Must java.io.tmpdir be on the same filesystem as the binary store in order to leverage NXP-9361 no-copy optimization</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/must-java-io-tmpdir-be-on-the-same-filesystem-as-the-binary/m-p/326779#M13780</link>
      <description>&lt;P&gt;Yes, the binary store has its own temporary directory on the binary store filesystem for temporary storage during creation, but that's not the only relevant case for no-copy optimizations. For the pure use-case of &lt;A href="https://jira.nuxeo.com/browse/NXP-9361"&gt;NXP-9361&lt;/A&gt; where you provide an &lt;CODE&gt;InputStream&lt;/CODE&gt; then yes &lt;CODE&gt;java.io.tmpdir&lt;/CODE&gt; is not relevant.&lt;/P&gt;
&lt;P&gt;The issue with no-copy optimizations is that the initial file containing the binary that is being sent to Nuxeo VCS for storage (through the creation of a Blob for instance) may be created by a third-party library as a file and not a stream, for instance the RichFaces file upload component. For no-copy we want whatever temporary file RichFaces provided us to be used directly, so we have to make sure it's already on the proper filesystem, and we do that by setting &lt;CODE&gt;java.io.tmpdir&lt;/CODE&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2013 13:23:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/must-java-io-tmpdir-be-on-the-same-filesystem-as-the-binary/m-p/326779#M13780</guid>
      <dc:creator>Florent_Guillau</dc:creator>
      <dc:date>2013-05-16T13:23:57Z</dc:date>
    </item>
  </channel>
</rss>

