Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6010369
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T02:06:23+00:00 2026-05-23T02:06:23+00:00

I need to POST a big string (>2mb) to my heroku app from the

  • 0

I need to POST a big string (>2mb) to my heroku app from the client using javascript.

Then I need to store the string in cloudfiles or s3.

What is the best way to do this, taking into account the limitations of Heroku?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T02:06:23+00:00Added an answer on May 23, 2026 at 2:06 am

    The best way to deal with large file and heroku is to use javascript to post it directly to s3 (or your final destination), then use a callback to hook it up to your model.

    The main reason is this — heroku will timeout on any request taking longer than 30s, so if there is any risk that you uploading will take more than that, then you HAVE to bypass heroku (note: I have learned this from experience)

    There a bunch of options to accomplish this depending on what you requirements are:

    • d2s3 — Direct to S3
    • plupload — flash uploader with progress bar, and lots of goodies, supports bulk uploading (this is what I currently use)
    • uploadify — good alternative to plupload — maybe simpler when not working bulk uploading
    • swfupload — another option

    Note: none of these are super simple to setup

    I wish that there was a simpler alternative, it is amazing to me that something as fundamental as file uploading is this difficult.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am working on a ASP.NET app and i have a need to post
I want to POST an URL using CURL and php. There is a big
I need to POST data to a url in the middle of a script.
I need to post a form which includes personal details and I need to
I need to post a form on a new website which is UTF-8 encoded.
I need to post some text to a remote server over HTTP, this server
I have an action which I need to post forward onto another action if
I've got a form and I need to post data to the server every
I'm running a Tomcat server with some virtual hosts and I need to POST
I would like to invoke a webservice via Android. I need to POST some

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.