将文件上传到 Akamai 的最快方式是什么?
我现在有一个 Akamai 的 ftp 目录,我需要尽快上传图像(每天可能超过 100 万张)
将本地文件同步到 ftp 站点的最快方法是什么?
谢谢
I have an ftp directory with Akamai now and I need to upload images as fast as possible (possibly 1+ million per day)
What would be the fastest way to sync local files to an ftp site?
thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
使用 Rsync 代替 FTP。它的开销比 FTP 低,非常适合同步大型文件库。
Rsync 文档
Akamai Netstorage 支持 Rsync 作为上传方法。它可能需要在 Akamai 控制面板中启用 - 无论谁管理您的 Netstorage 用户帐户都可以启用它。
Rsync 包含在所有 Linux 发行版中,如果您使用的是 Windows,则可以将其作为 cygwin。
Instead of FTP, use Rsync. It has lower overhead than FTP and is well suited to synchronising a large filebase.
Rsync documentation
Akamai Netstorage supports Rsync as an upload method. It may need to be enabled in the Akamai control panel - whoever administers your Netstorage user accounts can enable it.
Rsync is included in all Linux distributions, if you are on Windows you can get it as part of cygwin.
一天100万确实是很多,很难想象需要拥有如此庞大的数字资源。我所能建议的就是使用现成的工具纯粹在 ftp 同步级别解决这个问题。 (也许http://www.ftpsynchronizer.com/?)如果
失败,请敲出一个观看 ftp 的目录对于大多数具有 ftp 库的常用语言来说,上传程序并不是一项非常困难的编程工作。
另一种选择是,如果您可以在面向互联网的服务器上获取这些文件,则可以切换到使用 Akamai Http Content Delivery 并让 Akamai 提取图像,而不必不断推送它们。
1 million a day sure is a lot, its hard to imagine what requires having such a huge number resources. All I can suggest is solving this purely at the ftp sync level, using an off the shelf tool. (Maybe http://www.ftpsynchronizer.com/?)
Failing that, knocking up a directory watching ftp uploader wouldn't be a hugely difficult programming job in most common languages that have ftp libaries.
The other alternative is that if you can get these files on an internet facing server, you can switch to using Akamai Http Content Delivery and get Akamai to pull the images rather than you having to continuously push them.
如果您有如此大量的文件并且想要更快地上传,那么我建议您选择“重要”产品,它可以大大缩短上传时间。它是一个 3rd 方上传服务,与 Akamai 配合得很好,许多客户都在使用它。
if you have such huge number of files and you want to upload faster, then I would suggest going for 'signiant' product which improves the upload time drastically. its a 3rd party upload service which works with Akamai very well, many customers use it.