蜻蜓宝石是重载项目的良好解决方案
Dragonfly gem 对于重负载项目来说是一个好的解决方案吗? (例如 Facebook 等大型社交应用程序)
因为我认为这对于中小型项目来说是一个很好的解决方案,但我真的不喜欢动态渲染图像的想法(我知道有一个兑现选项,但仍然如此)我认为如果您在如此大的网络应用程序上使用它,它可能会产生巨大的差异
,并且您认为处理图像的宝石最适合如此大的项目将是最佳解决方案,为什么? (速度是主要问题)
感谢您的回答
Is dragonfly gem good solution for heavy load project ? ( massive social application like Facebook for example)
Because I think it's good solution for small - medium sized projects but I really don't like the idea that the image is rendered on the fly (I know that there is a cashing option but still) I'm concert it might make huge difference if you using it on such a big web application
and also What gem to process images do you think would be best for such large project would best solution and why ? (speed is the main issue)
thx for answers
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我不知道蜻蜓,但既然您正在寻找可扩展的解决方案,您应该看看 Delayed Paperclip< /a> 基于 Paperclip 和 DelayedJob(或 Resque)。
图片处理将作为后台作业处理,这不会减慢应用程序的速度并让用户在屏幕前等待。
I don't know dragonfly, but since you're looking for a scalable solution, you should have a look at Delayed Paperclip based on Paperclip and DelayedJob (or Resque).
Picture process will be handled as background job which won't slow down the app and let the user wait in front of his screen.