Mailing List Archive

Varnish: the outlook and X-mas and all that.
I thought I'd give you guys a status.

I've been giving my Varnish talk five times in the last couple of
weeks from Milan to Stockholm and response is good. Next time is
at the UKUUG spring conference in Manchester.

Version 2 seems to be a go, funding seems to be in place and
development will start early january (after the hangovers subside).

The featurelist is not yet nailed down, so if you have any last
second wishes, now would be a good time to mail them to me.

I am also looking for intelligent suggestions to how to handle
cookies and authentication in Varnish, if you have experience or
ideas in this space, mail me your thoughts.

I have been looking at the bug reports and I will tackle them asap,
but have been a bit hampered by travel, various other activities
and a persistent and potent murphy field in my lab which has so far
claimed one full machine and one of the CPUs in another.


Finally a number of private emails have asked me what you guys can
do for varnish and a few have asked about my X-mas wishes as well.

Without going as far as Tobi ?tiker has gone with autoconf for
RRD and MRTG, I do in fact have an amazon wishlist which you guys
are more than welcome to peruse:

http://www.amazon.com/exec/obidos/wishlist/1XSZNDWXKIAS0

Merry X-mas

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.
Varnish: the outlook and X-mas and all that. [ In reply to ]
Poul-Henning Kamp writes:
Hello,


>
> I am also looking for intelligent suggestions to how to handle
> cookies and authentication in Varnish, if you have experience or
> ideas in this space, mail me your thoughts.

Having worked for multiple CDN providers here are some ideas about how
to deal with cookies and authentication :
The URLs that matches Cookies or Authentication rules are staticaly
defined (regexp) in Varnish or could be dynamically advertized by the
origin server via a specific HTTP header.

1) COOKIE check presence mode:
check if the named cookie is present on the requests from the end user,
and make a request to the origin if the cookie is missing.
All headers provided with the request are passed on the origin.
Any Set-Cookie received is then added to the headers of the response
varnish is doing to the enduser.

2) Authentication mode
If an URL matches this mode, then before serving the cached ressource,
a GET or HEAD request is done to the origin, passing the headers of
the request.
if response is :
200: Varnish delivers the cached object
302: Varnish returns it to the end user who attempts to retrieve it
401: varnish returns it to the end user.

Damien,


> --
> 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.
> _______________________________________________
> varnish-misc mailing list
> varnish-misc at projects.linpro.no
> http://projects.linpro.no/mailman/listinfo/varnish-misc
Varnish: the outlook and X-mas and all that. [ In reply to ]
Poul-Henning Kamp wrote:

> Version 2 seems to be a go, funding seems to be in place and
> development will start early january (after the hangovers subside).

This is excellent news! I was wondering what would happen after your
attempt to start a discussion of how to proceed with Varnish.

What model did you end up with?

> I do in fact have an amazon wishlist which you guys
> are more than welcome to peruse:
>
> http://www.amazon.com/exec/obidos/wishlist/1XSZNDWXKIAS0

Lots of books about the atom bomb. I hope you don't have a hobby that we
will hear alot about some day :-)

/Anton
Varnish: the outlook and X-mas and all that. [ In reply to ]
In message <4577283C.4070604 at giraffen.dk>, Anton Stonor writes:

>> http://www.amazon.com/exec/obidos/wishlist/1XSZNDWXKIAS0
>
>Lots of books about the atom bomb. I hope you don't have a hobby that we
>will hear alot about some day :-)

Don't worry, it's a purely theoretical hobby of mine :-)

I tend to notice missing stuff, things which are not said and things
which are not talked about where they would naturally be.

The cold war and atomic bomb history is littered with such 'holes'.

Maybe some day I will write a book about all those holes. The
public of a lot of democratic countries have been seriously mislead
over the years.

--
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.