Re: Objects in grace while backend is down

2009-03-11 Thread Audun Ytterdal
On Tue, Mar 10, 2009 at 10:00 AM, Kristian Lyngstol
krist...@redpill-linpro.com wrote:
 On Mon, Mar 09, 2009 at 09:53:05PM -0400, Javier Frias wrote:
 Grace just doesn't seem to work when the backend is down... within the ttl,
 the object gets returned when the backend is down, but as soon as the ttl is
 over it, it gives me a 503  Service unavailable, even though the grace is of
 10hours.

 Is there a way to server objects out of grace when the backend is down?

 This was implemented in r3886 [1] and is available in trunk only at the 
 moment.

 Also see #369 [2] regarding 'forced' grace/saint mode/attempted grace.

 [1] http://varnish.projects.linpro.no/changeset/3886
 [2] http://varnish.projects.linpro.no/ticket/369

Hm. One of backend application does HTTP purge at the moment. Would it
be possible to have some logic to that could enable you to say purge
this url only if you are not in degraded/supergrace mode

-- 
Audun Ytterdal
http://audun.ytterdal.net
___
varnish-dev mailing list
varnish-dev@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-dev


What's the best way to give feedback for future Varnish features?

2009-03-11 Thread Cloude Porteus
Our testing with Varnish is going great, but the features around ESI
that haven't been implemented are going to make things a little bit
harder than I had hoped. I was reading the PostTwoShoppingList and saw
a request (please tell us which!) after more ESI features, but I'm not
sure how to voice my preference. So here's what would make Varnish
shine for our implementation. Both are already on the
PostTwoShoppingList:

5. More ESI features
Cookies  Conditionals, so we can do this example pulled from the ESI Spec:

esi:choose
   esi:when test=$(HTTP_COOKIE{group})=='Advanced'
       esi:include src=http://www.example.com/advanced.html/
   /esi:when
   esi:when test=$(HTTP_COOKIE{group})=='Basic User'
       esi:include src=http://www.example.com/basic.html/
   /esi:when
   esi:otherwise
       esi:include src=http://www.example.com/new_user.html/
   /esi:otherwise
/esi:choose

6. Gzip support
We just need the ability to GZIP outbound text files, since we can't
GZIP before the ESI statements are processed.

best,
cloude

--
VP of Product Development
Instructables.com

http://www.instructables.com/member/lebowski
___
varnish-dev mailing list
varnish-dev@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-dev


Re: What's the best way to give feedback for future Varnish features?

2009-03-11 Thread Poul-Henning Kamp
In message 4a05e1020903111417w2c175418rd9bcf7a3aef10...@mail.gmail.com, Cloud
e Porteus writes:

Our testing with Varnish is going great, but the features around ESI
that haven't been implemented are going to make things a little bit
harder than I had hoped. I was reading the PostTwoShoppingList and saw
a request (please tell us which!) after more ESI features, but I'm not
sure how to voice my preference. 

Get a wiki login[1], edit the page.

[1] They are free and we happily give them away, but you have to ask
so we kan keep spammers away.

-- 
Poul-Henning Kamp   | UNIX since Zilog Zeus 3.20
p...@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-dev mailing list
varnish-dev@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-dev