{"id":63860,"date":"2020-04-10T19:53:07","date_gmt":"2020-04-10T11:53:07","guid":{"rendered":"http:\/\/4563.org\/?p=63860"},"modified":"2020-04-10T19:53:07","modified_gmt":"2020-04-10T11:53:07","slug":"%e6%b1%82%e5%a4%a7%e4%bd%ac%e5%b8%ae%e7%bf%bb%e8%af%91%e4%b8%8b%e8%bf%99%e4%b8%aa-%e6%98%af%e5%95%a5%e6%84%8f%e6%80%9d%e5%95%8a","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=63860","title":{"rendered":"\u6c42\u5927\u4f6c\u5e2e\u7ffb\u8bd1\u4e0b\u8fd9\u4e2a \u662f\u5565\u610f\u601d\u554a"},"content":{"rendered":"\n<p>  \t\t\t\t\t<strong>ninqq<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2020-3-19 11:36:06\t<\/p>\n<h3>\u6c42\u5927\u4f6c\u5e2e\u7ffb\u8bd1\u4e0b\u8fd9\u4e2a \u662f\u5565\u610f\u601d\u554a<\/h3>\n<p>  \t\t \u672c\u5e16\u6700\u540e\u7531 ninqq \u4e8e 2020-3-19 11:37 \u7f16\u8f91 <\/p>\n<p> \u673a\u7ffb\u7684\u770b\u4e0d\u61c2yc005t <\/p>\n<p>  \u53ea\u770b\u61c2\u653e\u5230\u5185\u5b58\u91cc<\/p>\n<p>  \u8fd9\u51e0\u6761\u5177\u4f53\u4e0d\u662f\u5f88\u6e05\u695a<br \/>  It will use fewer transactions (important if you pay for them)<br \/>  It will use more memory. Rclone has to load the whole listing into memory.<br \/>  It may be faster because it uses fewer transactions<br \/>  It may be slower because it can\u2019t be parallelized<br \/>  rclone should always give identical results with and without &#8211;fast-list.<\/p>\n<p>  \u5b8c\u6574\u7684<\/p>\n<p>  &#8211;fast-list<br \/>  When doing anything which involves a directory listing (eg sync, copy, ls &#8211; in fact nearly every command), rclone normally lists a directory and processes it before using more directory lists to process any subdirectories. This can be parallelised and works very quickly using the least amount of memory.<\/p>\n<p>  However, some remotes have a way of listing all files beneath a directory in one (or a small number) of transactions. These tend to be the bucket based remotes (eg S3, B2, GCS, Swift, Hubic).<\/p>\n<p>  If you use the &#8211;fast-list flag then rclone will use this method for listing directories. This will have the following consequences for the listing:<\/p>\n<p>  It will use fewer transactions (important if you pay for them)<br \/>  It will use more memory. Rclone has to load the whole listing into memory.<br \/>  It may be faster because it uses fewer transactions<br \/>  It may be slower because it can\u2019t be parallelized<br \/>  rclone should always give identical results with and without &#8211;fast-list.<\/p>\n<p>  If you pay for transactions and can fit your entire sync listing into memory then &#8211;fast-list is recommended. If you have a very big sync to do then don\u2019t use &#8211;fast-list otherwise you will run out of memory.<\/p>\n<p>  If you use &#8211;fast-list on a remote which doesn\u2019t support it, then rclone will just ignore it.<\/p>\n<p>  &#8211;timeout=TIME\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>h20<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2020-3-19 11:36:43\t<\/p>\n<h3><\/h3>\n<p>  \t\t \u672c\u5e16\u6700\u540e\u7531 h20 \u4e8e 2020-3-19 11:46 \u7f16\u8f91 <\/p>\n<p> 01.It will use fewer transactions (important if you pay for them)<br \/>  \u7528\u7684\u6d41\u91cf\u5c11\uff0c\u5982\u679c\u4f60\u662f\u8d70\u6536\u8d39\u6d41\u91cf\u7684\u8bdd<\/p>\n<p>  02.It will use more memory. Rclone has to load the whole listing into memory.<br \/>  \u4f1a\u5360\u7528\u8f83\u591a\u7684\u5185\u5b58\uff0c\u56e0\u4e3a\u8981\u628a\u6574\u4e2a\u5217\u8868\u52a0\u8f7d\u5230\u5185\u5b58\u91cc<\/p>\n<p>  03.It may be faster because it uses fewer transactions<br \/>  \u56e0\u4e3a\u9700\u8981\u7684\u6d41\u91cf\u5c11\uff0c\u6240\u4ee5\u901f\u5ea6\u4f1a\u5feb<\/p>\n<p>  04.It may be slower because it can\u2019t be parallelized<br \/>  \u56e0\u4e3a\u65e0\u6cd5\u5e76\u53d1\u5904\u7406\uff0c\u6240\u4ee5\u4f1a\u6bd4\u8f83\u6162<\/p>\n<p>  05.rclone should always give identical results with and without &#8211;fast-list.<br \/>  \u4e0d\u7ba1\u4f60\u7528\u4e0d\u7528&#8211;fast-list\u9009\u9879\u7ed3\u679c\u90fd\u5e94\u8be5\u662f\u4e00\u6837\u7684<\/p>\n<p>  \u4eba\u5de5\u7ffb\u8bd1\uff0c\u70b9\u4e2a\u8d5e\u5427\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>\u4e0d\u61c2\u4e8b\u7684\u4f9d\u65e7<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2020-3-19 11:36:40\t<\/p>\n<h3><\/h3>\n<p>  \t\t-\u5feb\u901f\u5217\u8868<br \/>  \u5728\u6267\u884c\u6d89\u53ca\u76ee\u5f55\u5217\u8868\u7684\u4efb\u4f55\u64cd\u4f5c\uff08\u4f8b\u5982\uff0c\u540c\u6b65\uff0c\u590d\u5236\uff0cls-\u5b9e\u9645\u4e0a\u51e0\u4e4e\u662f\u6bcf\u4e2a\u547d\u4ee4\uff09\u65f6\uff0crclone\u901a\u5e38\u4f1a\u5217\u51fa\u76ee\u5f55\u5e76\u5bf9\u5176\u8fdb\u884c\u5904\u7406\uff0c\u7136\u540e\u518d\u4f7f\u7528\u66f4\u591a\u76ee\u5f55\u5217\u8868\u6765\u5904\u7406\u4efb\u4f55\u5b50\u76ee\u5f55\u3002\u8fd9\u53ef\u4ee5\u5e76\u884c\u5316\uff0c\u5e76\u4e14\u4f7f\u7528\u6700\u5c11\u7684\u5185\u5b58\u5373\u53ef\u975e\u5e38\u5feb\u901f\u5730\u5de5\u4f5c\u3002<\/p>\n<p>  \u4f46\u662f\uff0c\u67d0\u4e9b\u8fdc\u7a0b\u670d\u52a1\u5668\u53ef\u4ee5\u5728\u4e00\u4e2a\uff08\u6216\u5c11\u91cf\uff09\u4e8b\u52a1\u4e2d\u5217\u51fa\u76ee\u5f55\u4e0b\u7684\u6240\u6709\u6587\u4ef6\u3002\u8fd9\u4e9b\u5f80\u5f80\u662f\u57fa\u4e8e\u5b58\u50a8\u6876\u7684\u9065\u63a7\u5668\uff08\u4f8b\u5982S3\uff0cB2\uff0cGCS\uff0cSwift\uff0cHubic\uff09\u3002<\/p>\n<p>  \u5982\u679c\u4f7f\u7528&#8211;fast-list\u6807\u5fd7\uff0c\u5219rclone\u5c06\u4f7f\u7528\u6b64\u65b9\u6cd5\u5217\u51fa\u76ee\u5f55\u3002\u8fd9\u5c06\u5bf9\u6e05\u5355\u4ea7\u751f\u4ee5\u4e0b\u5f71\u54cd\uff1a<\/p>\n<p>  \u5b83\u5c06\u4f7f\u7528\u8f83\u5c11\u7684\u4ea4\u6613\uff08\u5982\u679c\u60a8\u4e3a\u4ea4\u6613\u4ed8\u6b3e\uff0c\u8fd9\u5f88\u91cd\u8981\uff09<br \/>  \u5b83\u5c06\u4f7f\u7528\u66f4\u591a\u7684\u5185\u5b58\u3002Rclone\u5fc5\u987b\u5c06\u6574\u4e2a\u5217\u8868\u52a0\u8f7d\u5230\u5185\u5b58\u4e2d\u3002<br \/>  \u53ef\u80fd\u4f1a\u66f4\u5feb\uff0c\u56e0\u4e3a\u5b83\u4f7f\u7528\u8f83\u5c11\u7684\u4ea4\u6613<br \/>  \u53ef\u80fd\u6bd4\u8f83\u6162\uff0c\u56e0\u4e3a\u5b83\u65e0\u6cd5\u5e76\u884c\u5316<br \/>  \u65e0\u8bba\u662f\u5426\u4f7f\u7528&#8211;fast-list\uff0crclone\u90fd\u5e94\u59cb\u7ec8\u7ed9\u51fa\u76f8\u540c\u7684\u7ed3\u679c\u3002<\/p>\n<p>  \u5982\u679c\u60a8\u4e3a\u4ea4\u6613\u4ed8\u8d39\uff0c\u5e76\u4e14\u53ef\u4ee5\u5c06\u6574\u4e2a\u540c\u6b65\u5217\u8868\u653e\u5165\u5185\u5b58\u4e2d\uff0c\u5219\u5efa\u8bae&#8211;fast-list\u3002\u5982\u679c\u8981\u8fdb\u884c\u5f88\u5927\u7684\u540c\u6b65\uff0c\u5219\u4e0d\u8981\u4f7f\u7528&#8211;fast-list\uff0c\u5426\u5219\u5c06\u8017\u5c3d\u5185\u5b58\u3002<\/p>\n<p>  \u5982\u679c\u5728\u4e0d\u652f\u6301\u5b83\u7684\u9065\u63a7\u5668\u4e0a\u4f7f\u7528&#8211;fast-list\uff0c\u5219rclone\u53ea\u4f1a\u5ffd\u7565\u5b83\u3002<\/p>\n<p>  &#8211;timeout =\u65f6\u95f4\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>ninqq<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2020-3-19 11:41:26\t<\/p>\n<h3><\/h3>\n<p>  \t\t \u672c\u5e16\u6700\u540e\u7531 ninqq \u4e8e 2020-3-19 11:46 \u7f16\u8f91 <\/p>\n<p> h20 \u5927\u4f6c\u6709\u8bdd\u8bf4 : 2020-3-19 11:36<br \/>  transactions \u7ffb\u8bd1\u4e3a\u6d41\u91cf \u4f60\u5c31\u61c2\u4e86\u5427<br \/>  \u611f\u8c22<br \/>  \u61c2\u4e86 \u4e0d\u77e5\u9053\u4f7f\u7528\u8fd9\u4e2a \u4f1a\u4e0d\u4f1a\u964d\u4f4e\u4e0b\u8d1f\u8f7d \u540c\u6b65\u7684\u65f6\u5019 \u6e90\u673a\u5668\u5361\u7684\u4e0d\u80fd\u81ea\u7406\u4e86\t\t\t  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>ninqq \u5927\u4f6c\u6709\u8bdd\u8bf4 : 202&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/63860"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=63860"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/63860\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=63860"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=63860"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=63860"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}