Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AWS Performance Issue #2529

Closed
felipefava opened this issue Jan 20, 2021 · 2 comments
Closed

AWS Performance Issue #2529

felipefava opened this issue Jan 20, 2021 · 2 comments

Comments

@felipefava
Copy link

Hi, I'm generating a json that is a list of products. Each product has an image. The problem I'm facing is that is taking too long.

I did some debug and the problem is on the image URL generation for the json response. I'm using fog-aws with private bucket. Is there a way of speeding up this?

carrierwave (2.1.0)
fog-aws (3.5.2)

Thanks for the help!

@alessandromacagno
Copy link

Any updates on this? I have the very same problem, but with carrierwave 2.1.1 and carrierwave-aws 1.5.0

I have a Exercise model with some videos and pictures attached, and this is a benchmark of Exercises.all.to_json with carrierwave URLs

#<Benchmark::Tms:0x00007f904b14e438 cstime=0.0, cutime=0.0, label=“”, real=7.911554000000251, stime=0.07655499999999998, total=7.905657999999999, utime=7.829102999999999>

If I remove carrierwave URLs this is the benchmark

#<Benchmark::Tms:0x00007fe7e4a1f030 cstime=0.0, cutime=0.0, label=“”, real=0.546690000000126, stime=0.030209000000000014, total=0.545716, utime=0.5155069999999999>

@mshibuya
Copy link
Member

Merging into #2461.

@mshibuya mshibuya closed this as not planned Won't fix, can't repro, duplicate, stale Feb 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants