这几天在折腾openstack-swift,在百万文件的数据集下,上传下载显得异常缓慢,顾考虑多进程多线程上传下载。
过程中发现proxy机单位时间能接受的curl请求是有限的,当请求书过多,有些curl请求则会报This server could not verify that you are authorized to access the document you requested.或The server is currently unavailable等错误。
解决方法:
1. 增加代理节点
2. 减少并行/并发数