使用回形针加速 S3 上传 [英] Accelerate S3 upload with paperclip

查看:32
本文介绍了使用回形针加速 S3 上传的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用回形针在 S3 中上传图像.但我注意到这个上传非常慢.我认为是因为在完成提交之前,文件必须通过我的服务器,进行处理并发送到 S3 服务器.

I'm using paperclip for uploading images in S3. But I've noted that this upload is very slow. I think because before complete the submit the file has to pass by my server, be processed and be sent to the S3 server.

有没有加速这个的方法?

Is there a method for accelerate this?

谢谢

推荐答案

使用延迟作业,这是一个很好的例子 此处
或者您可以使用 Flash 上传.

Use delayed jobs, this is a good example here
Or you can use flash upload.

这篇关于使用回形针加速 S3 上传的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆