Giter Site home page Giter Site logo

Files streaming about jets HOT 4 CLOSED

oleksiivykhor avatar oleksiivykhor commented on June 6, 2024
Files streaming

from jets.

Comments (4)

tongueroo avatar tongueroo commented on June 6, 2024

Short answer: don’t think so. Locally you may be able to get it to work. But on AWS Lambda and API Gateway, it would work differently and wouldn’t work. So it’s a bit of work.

from jets.

oleksiivykhor avatar oleksiivykhor commented on June 6, 2024

@tongueroo sorry, but could you, please, explain a bit why that wouldn't work on AWS Lambda and API Gateway.
Docs say it's possible to work with binary files https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-content-encodings-examples-image-lambda.html

from jets.

tongueroo avatar tongueroo commented on June 6, 2024

Oh I could be mistaken here. Was thinking about websocket streaming. For binary files like images, believe it works. But it’s been a while since tested. https://blog.boltops.com/2018/12/13/jets-image-upload-carrierwave-tutorial-binary-support/ Vaguely remember that had return a specific type of response for it to work. Jets should do this but your miles may vary. Binary data through APIGW seems to be a pain. So it may not work. You’d probably have a better experience using s3. At least wanted to provide an answer.

from jets.

oleksiivykhor avatar oleksiivykhor commented on June 6, 2024

@tongueroo thanks for your response (and the suggestion about the s3 approach, will check it out)

from jets.

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.