This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 165633 - Remote Fast Synchronization
Summary: Remote Fast Synchronization
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Remote (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Vladimir Kvashin
URL:
Keywords:
: 156802 168699 (view as bug list)
Depends on:
Blocks: 158817 158820 158821 158822 158990
  Show dependency tree
 
Reported: 2009-05-20 17:53 UTC by Vladimir Kvashin
Modified: 2010-05-21 07:40 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
An attempt to use JSch compression (JZLib) (2.78 KB, text/plain)
2009-08-13 23:45 UTC, Vladimir Kvashin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Kvashin 2009-05-20 17:53:57 UTC
There should be an option of using rsync for copyng files to remote host.
Comment 1 Maria Tishkova 2009-06-16 16:57:41 UTC
I would state this enhancement as "Remote Fast Synchronization".
It can be rsync, but can be some other "fast" tool
Comment 2 Quality Engineering 2009-07-10 05:42:06 UTC
Integrated into 'main-golden', will be available in build *200907100200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/5e8cbe26cb57
User: Vladimir Kvashin <vkvashin@netbeans.org>
Log: #165633 Remote Fast Synchronization - preliminary changes
Comment 3 Quality Engineering 2009-07-14 06:23:30 UTC
Integrated into 'main-golden', will be available in build *200907140201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/251494339bf9
User: Vladimir Kvashin <vkvashin@netbeans.org>
Log: Tests, measurements and minor changes in prototype implementation for  #165633 Remote Fast Synchronization
Comment 4 Vladimir Voskresensky 2009-07-17 08:22:35 UTC
*** Issue 168699 has been marked as a duplicate of this issue. ***
Comment 5 Quality Engineering 2009-07-21 07:19:16 UTC
Integrated into 'main-golden', will be available in build *200907210201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/fb994569acb2
User: Vladimir Kvashin <vkvashin@netbeans.org>
Log: productized ZipSyncWorker + fixed tests (fixing  #165633 Remote Fast Synchronization)
Comment 6 Quality Engineering 2009-08-11 05:59:40 UTC
Integrated into 'main-golden', will be available in build *200908110201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/9ba8046326d1
User: Vladimir Kvashin <vkvashin@netbeans.org>
Log: A (not yet enabled by default) RFS stuff - fixing  #165633 Remote Fast Synchronization)
Comment 7 Quality Engineering 2009-08-13 17:58:27 UTC
Integrated into 'main-golden', will be available in build *200908131401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/7906a97947a2
User: Vladimir Kvashin <vkvashin@netbeans.org>
Log: #165633 Remote Fast Synchronization: Fixup: kill previous controller instances (until infrastructure is ready and we are able to shut it down after build)
Comment 8 Vladimir Kvashin 2009-08-13 23:45:40 UTC
Created attachment 86217 [details]
An attempt to use JSch compression (JZLib)
Comment 9 Leonid Lenyashin 2009-08-14 08:23:42 UTC
What was the outcome you get through using zlib? What is the legal status of JZLib at this point?
Comment 10 Vladimir Kvashin 2009-08-16 20:01:02 UTC
Measurements for copying files over a slow network (from home to swan via vpn)
with and without compression shows the following.

When copying large files (0.5 Mb and more), the speed is 2-3 times better with compression;
when copying small files (2-3 Kb each), the speed is quite the same;
when copying medium files (20-30 Kb each), the speed is a bit better (say, 45 seconds vs 55 seconds).

For now I have ho control over compression (via jsch) per file - only per session.
Comment 11 Leonid Lenyashin 2009-08-17 08:49:17 UTC
If I have adequate idea of how stream compression works, then files size does not quite matter. What matters is total
number of bytes transfered during the session. In the beginning of session when number of bytes is low the compression
ratio will be low, but it will improve over time when traffic becomes heavier.

Still what is JZlib legal status? Is it already in source tree?
Comment 12 Vladimir Kvashin 2009-08-17 09:22:07 UTC
No, there is no JZlib in the NetBeans source tree.
Comment 13 Leonid Lenyashin 2009-08-17 09:36:05 UTC
Then if you feel zlib compression is valuable, pls start OSR process. Discuss with Maria first.
Comment 14 Vladimir Kvashin 2009-09-06 17:25:28 UTC
Fixed by numerous changesets.
Comment 15 Quality Engineering 2009-09-07 09:56:53 UTC
Integrated into 'main-golden', will be available in build *200909041634* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/a24c4ae99e3d
User: Vladimir Kvashin <vkvashin@netbeans.org>
Log: Added JZLib (fixing #165633 Remote Fast Synchronization)
Comment 16 Quality Engineering 2009-09-08 02:47:07 UTC
Integrated into 'main-golden', will be available in build *200909071948* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/2e4b56eecb55
User: Vladimir Kvashin <vkvashin@netbeans.org>
Log: Moving more file related responsibilities to CndFileUtils (fixing #165633 Remote Fast Sync)
Comment 17 Alexey Vladykin 2010-05-21 07:40:20 UTC
*** Bug 156802 has been marked as a duplicate of this bug. ***