Git Product home page Git Product logo

Comments (3)

msaint avatar msaint commented on July 19, 2024

Just successfully uploaded a gif...intermittent issue?

from crowdtiltopen.

christianrjo avatar christianrjo commented on July 19, 2024

Everything seems to be working fine.

from crowdtiltopen.

liuhenry avatar liuhenry commented on July 19, 2024

Some more clarification around this issue: the root cause of this bug is #123

The issue generally only shows up on production, because it has to do with the process timing out when trying to upload an image. On Heroku in particular, web dynos have an absolute timeout of 30 seconds, which can't be adjusted by the end user (you can add a lower limit in your own app to allow for graceful shutdown, since Heroku will simply kill the process, but you can't increase the 30s limit).

When uploading large images, the combined time of imagemagick and the paperclip upload to S3 usually goes over the 30s limit, and you also tend to see a high error rate with gifs due to the increased processing time from imagemagick.

The solution to the issue would be to implement a worker system to handle file uploads, or to do some form of client-side processing and direct upload to S3 (bypassing our servers), but it was not included in the original app due to cost/complexity concerns

I'm closing this issue since we have a separate issue open for it, and we can continue to discuss at We originally decided to hold off on adding these additional dependencies due to cost and complexity, but we can discuss further at #123

from crowdtiltopen.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.