vigour-io / shutter

Makes a sprite out of an array of urls
ISC License
1 stars 0 forks source link

Drops requests under not-so-high load #14

Open shawninder opened 9 years ago

shawninder commented 9 years ago

When building vigour-example for ios, some image resize requests result in 408 or 504 (timeout related errors). This is happening under not-so-high load (21 simultaneous POSTs, including large files)

The requesting side should retry on timeout, but let's make sure we're doing everything possible to mitigate this.

shawninder commented 9 years ago

manip function should either turn socket pooling off or, prefferably, increase maxSockets. This should also be benchmarked to prove it helps.

shawninder commented 9 years ago

We should also use gzip, both when retrieving the original image and when sending the result back to the caller