Note that there are some explanatory texts on larger screens.

plurals
  1. POPosting a large amount of data (~500k to 2MB) to IIS
    primarykey
    data
    text
    <p>Users are posting large amounts of text to my website (500k-2MB) range, and for certain users (almost always geographically very far away like Australia) the server is not receiving all of the data (example, they post 600k the server receives 500k).</p> <p>My suspicion is the post is timing out while sending the data.</p> <p>My thought to solve this is to compress the contents client side and send a much smaller packet to my server. Using <a href="http://blog.istepaniuk.com/client-side-compression-with-javascript/" rel="nofollow noreferrer">http://blog.istepaniuk.com/client-side-compression-with-javascript/</a>. I was able do this, but the algorithm degrades horrendously on a 2mb file brining my server to it's knees. I have been unable to get GZIP/deflate working (based off of <a href="http://problemsolverblog.blogspot.com/2011/11/integration-of-js-deflate-with-other.html" rel="nofollow noreferrer">http://problemsolverblog.blogspot.com/2011/11/integration-of-js-deflate-with-other.html</a>)</p> <p>Questions</p> <ol> <li>What would the recommended technique be for "posting" data at this size</li> <li>If the recommended solution is to use client side (JS) compression and server side (C#) decompression has anyone done this successfully with available libraries? If so which ones.</li> </ol> <p>** There are a few similar questions on SO, but I have found their answers incomplete/lacking for my needs. (<a href="https://stackoverflow.com/questions/3374152/using-xhr-to-send-large-amounts-of-data-via-post">Using XHR to send large amounts of data via POST</a>, <a href="https://stackoverflow.com/questions/13031968/compressing-http-post-data-sent-from-browser">Compressing HTTP Post Data sent from browser</a>, </p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload