Mailing List Archive

Upload Buffering and x-sendfile
Sorry if this is the wrong spot, the misc list wasn't helpful. This
may be a question only the devs know anyway.


Does varnish support upload (and download) buffering?

Since varnish handles all of the traffic going to and from my host I
was wondering if it buffered the client when they were uploading a
large post body or downloading a large portion of HTML.

The benefit here is that my host is not waiting for them to upload on
their slow connection and the same for download.


Does varnish support x-sendfile type responses?

It seems I might be able to program this using VCL but I was unsure so
I thought I would add it to this question. Can Varnish intercept a
header on the way to the client and redirect to a static file?

Thanks, Trey
Upload Buffering and x-sendfile [ In reply to ]
Sorry if this is the wrong spot, the misc list wasn't helpful. This
may be a question only the devs know anyway.


Does varnish support upload (and download) buffering?

Since varnish handles all of the traffic going to and from my host I
was wondering if it buffered the client when they were uploading a
large post body or downloading a large portion of HTML.

The benefit here is that my host is not waiting for them to upload on
their slow connection and the same for download.


Does varnish support x-sendfile type responses?

It seems I might be able to program this using VCL but I was unsure so
I thought I would add it to this question. Can Varnish intercept a
header on the way to the client and redirect to a static file?

Thanks, Trey
Upload Buffering and x-sendfile [ In reply to ]
In message <708382D6-63D8-4AE2-83B2-4872CAA2B536 at propeller.com>, Trey Long writ
es:

>Does varnish support upload (and download) buffering?
>
>Since varnish handles all of the traffic going to and from my host I
>was wondering if it buffered the client when they were uploading a
>large post body or downloading a large portion of HTML.

Downloading: yes, we buffer.

Uploading: no, we don't.

>Does varnish support x-sendfile type responses?

Not at present, but it sounds like it could be useful, I'll add it
to the "post-2.0 ideas list".

--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
Upload Buffering and x-sendfile [ In reply to ]
In message <708382D6-63D8-4AE2-83B2-4872CAA2B536 at propeller.com>, Trey Long writ
es:

>Does varnish support upload (and download) buffering?
>
>Since varnish handles all of the traffic going to and from my host I
>was wondering if it buffered the client when they were uploading a
>large post body or downloading a large portion of HTML.

Downloading: yes, we buffer.

Uploading: no, we don't.

>Does varnish support x-sendfile type responses?

Not at present, but it sounds like it could be useful, I'll add it
to the "post-2.0 ideas list".

--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
Upload Buffering and x-sendfile [ In reply to ]
On Apr 21, 2008, at 1:42 AM, Poul-Henning Kamp wrote:

> In message <708382D6-63D8-4AE2-83B2-4872CAA2B536 at propeller.com>,
> Trey Long writ
> es:
>
>> Does varnish support upload (and download) buffering?
>>
>> Since varnish handles all of the traffic going to and from my host I
>> was wondering if it buffered the client when they were uploading a
>> large post body or downloading a large portion of HTML.
>
> Downloading: yes, we buffer.
>
> Uploading: no, we don't.

Are there plans to offer uploading as well? Since that is the normally
the slower part of the experience.

>
>
>> Does varnish support x-sendfile type responses?
>
> Not at present, but it sounds like it could be useful, I'll add it
> to the "post-2.0 ideas list".
>
> --
> Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
> phk at FreeBSD.ORG | TCP/IP since RFC 956
> FreeBSD committer | BSD since 4.3-tahoe
> Never attribute to malice what can adequately be explained by
> incompetence.
Upload Buffering and x-sendfile [ In reply to ]
On Apr 21, 2008, at 1:42 AM, Poul-Henning Kamp wrote:

> In message <708382D6-63D8-4AE2-83B2-4872CAA2B536 at propeller.com>,
> Trey Long writ
> es:
>
>> Does varnish support upload (and download) buffering?
>>
>> Since varnish handles all of the traffic going to and from my host I
>> was wondering if it buffered the client when they were uploading a
>> large post body or downloading a large portion of HTML.
>
> Downloading: yes, we buffer.
>
> Uploading: no, we don't.

Are there plans to offer uploading as well? Since that is the normally
the slower part of the experience.

>
>
>> Does varnish support x-sendfile type responses?
>
> Not at present, but it sounds like it could be useful, I'll add it
> to the "post-2.0 ideas list".
>
> --
> Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
> phk at FreeBSD.ORG | TCP/IP since RFC 956
> FreeBSD committer | BSD since 4.3-tahoe
> Never attribute to malice what can adequately be explained by
> incompetence.
Upload Buffering and x-sendfile [ In reply to ]
In message <B079093E-8EA2-4732-AC49-CC443C2663A2 at propeller.com>, Trey Long writ
es:

>> Downloading: yes, we buffer.
>>
>> Uploading: no, we don't.
>
>Are there plans to offer uploading as well? Since that is the normally
>the slower part of the experience.

I will put it on the "post-2.0 ideas" page and see if it sticks.

Poul-Henning

--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
Upload Buffering and x-sendfile [ In reply to ]
In message <B079093E-8EA2-4732-AC49-CC443C2663A2 at propeller.com>, Trey Long writ
es:

>> Downloading: yes, we buffer.
>>
>> Uploading: no, we don't.
>
>Are there plans to offer uploading as well? Since that is the normally
>the slower part of the experience.

I will put it on the "post-2.0 ideas" page and see if it sticks.

Poul-Henning

--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.