<?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 AppSync slower than full copy??? in ThinApp</title>
    <link>https://communities.vmware.com/t5/ThinApp/AppSync-slower-than-full-copy/m-p/2619677#M6824</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am testing AppSync and have a 2GB application dat file that has a new version. The thinapp application is running locally on the PCs and I need to update it. I update the package via an HTTP packagepath and it starts doing the AppSync update and it takes over 3 minutes to update the local .dat file. If I do a simple copy of the new .dat file it takes 35 seconds. Below is the script I am using to update the application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So it seems that AppSync is slower than a strait up copy. I assume this because it's doing the hash check on each block. Is there any logic that AppSync has to bypass the hash check and just do a full update which would be faster? Or am I missing something and it should be faster?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;===================================================&lt;/P&gt;&lt;P&gt;Set TAManagement = CreateObject("ThinApp.Management")&lt;BR /&gt;Dim AppSyncPkg&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TAOldPackage = "C:\Program Files\myapp1\myapp1.dat"&lt;BR /&gt;&lt;SPAN&gt;TANewPackageURL = "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://serverabc.mydomain.com/ThinApp/myapp1.dat"&gt;http://serverabc.mydomain.com/ThinApp/myapp1.dat&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;BR /&gt;AppSyncUpdate TAOldPackage, TANewPackageURL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Function AppSyncUpdate (TAOldPackage, TANewPackageURL)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; On Error Resume Next&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '=================================================&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ' Declare the ThinApp Package/File and open&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '=================================================&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set AppSyncPkg = TAManagement.OpenPackage (TAOldPackage)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '=================================================&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ' Attach to the package and do an AppSync Update&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '=================================================&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sync = AppSyncPkg.AppSync (True, LCase(TANewPackageURL))&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; msgbox(sync)&lt;BR /&gt;End Function&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Feb 2012 18:49:37 GMT</pubDate>
    <dc:creator>rbmadison</dc:creator>
    <dc:date>2012-02-07T18:49:37Z</dc:date>
    <item>
      <title>AppSync slower than full copy???</title>
      <link>https://communities.vmware.com/t5/ThinApp/AppSync-slower-than-full-copy/m-p/2619677#M6824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am testing AppSync and have a 2GB application dat file that has a new version. The thinapp application is running locally on the PCs and I need to update it. I update the package via an HTTP packagepath and it starts doing the AppSync update and it takes over 3 minutes to update the local .dat file. If I do a simple copy of the new .dat file it takes 35 seconds. Below is the script I am using to update the application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So it seems that AppSync is slower than a strait up copy. I assume this because it's doing the hash check on each block. Is there any logic that AppSync has to bypass the hash check and just do a full update which would be faster? Or am I missing something and it should be faster?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;===================================================&lt;/P&gt;&lt;P&gt;Set TAManagement = CreateObject("ThinApp.Management")&lt;BR /&gt;Dim AppSyncPkg&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TAOldPackage = "C:\Program Files\myapp1\myapp1.dat"&lt;BR /&gt;&lt;SPAN&gt;TANewPackageURL = "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://serverabc.mydomain.com/ThinApp/myapp1.dat"&gt;http://serverabc.mydomain.com/ThinApp/myapp1.dat&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;BR /&gt;AppSyncUpdate TAOldPackage, TANewPackageURL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Function AppSyncUpdate (TAOldPackage, TANewPackageURL)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; On Error Resume Next&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '=================================================&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ' Declare the ThinApp Package/File and open&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '=================================================&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set AppSyncPkg = TAManagement.OpenPackage (TAOldPackage)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '=================================================&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ' Attach to the package and do an AppSync Update&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '=================================================&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sync = AppSyncPkg.AppSync (True, LCase(TANewPackageURL))&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; msgbox(sync)&lt;BR /&gt;End Function&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2012 18:49:37 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/ThinApp/AppSync-slower-than-full-copy/m-p/2619677#M6824</guid>
      <dc:creator>rbmadison</dc:creator>
      <dc:date>2012-02-07T18:49:37Z</dc:date>
    </item>
    <item>
      <title>Re: AppSync slower than full copy???</title>
      <link>https://communities.vmware.com/t5/ThinApp/AppSync-slower-than-full-copy/m-p/2619678#M6825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could there be an option to check connectivity to the update location and if speed is greater than a percentage bypass the block hash check and just do a fully copy?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2012 18:58:24 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/ThinApp/AppSync-slower-than-full-copy/m-p/2619678#M6825</guid>
      <dc:creator>rbmadison</dc:creator>
      <dc:date>2012-02-07T18:58:24Z</dc:date>
    </item>
    <item>
      <title>Re: AppSync slower than full copy???</title>
      <link>https://communities.vmware.com/t5/ThinApp/AppSync-slower-than-full-copy/m-p/2619679#M6826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;RB,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just curious - have you trolled all these:&amp;nbsp; &lt;A href="http://blogs.vmware.com/thinapp/appsync/"&gt;http://blogs.vmware.com/thinapp/appsync/&lt;/A&gt;&amp;nbsp; ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are on the verge of testing AppSync for the first time, so this subject is of great interest to me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As for whether or not the hash check can be disabled/bypassed, I have a thought.&amp;nbsp; We use SCCM to distribute software and updates.&amp;nbsp; SCCM uses BITS to move the data, and performs checksum/hash verification on the end point prior to implementation of change or advertisement.&amp;nbsp; In other words, if we are using SCCM to advertise an available software installation, the SCCM client will not present the advertisement until it knows all the blocks are good.&amp;nbsp; This mechanism reduces corrupt installation incidences. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm guessing that the main reason you're feeling the pain on the app in question is due to its size.&amp;nbsp; My guess is that the average 150-300MB AppSync won't be so bad.&amp;nbsp; I also don't know if you're using SSL for AppSync.&amp;nbsp; Perhaps SSL adds overhead.&amp;nbsp; Lastly, I saw a post not long ago on AppSync and antivirus.&amp;nbsp; &lt;A href="http://www.tsmguru.com/vmware/vmware-thinapp-antivirus-best-practices.html"&gt;http://www.tsmguru.com/vmware/vmware-thinapp-antivirus-best-practices.html&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Feb 2012 17:57:36 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/ThinApp/AppSync-slower-than-full-copy/m-p/2619679#M6826</guid>
      <dc:creator>TobyFruthParson</dc:creator>
      <dc:date>2012-02-08T17:57:36Z</dc:date>
    </item>
  </channel>
</rss>

