enno at tty
Aug 1, 2012, 12:46 PM
Post #3 of 3
From: Poul-Henning Kamp [mailto:phk [at] phk]
In message <50192529.6010808 [at] tty>, Enno van Amerongen writes:
>3. Calculate which shard must handle the request
Look at the "hash" director.
The problem with the hash director in my case is, is that I think it's hard to predict, if possible at all. I need to know on which servers to store which files.
You can also implement your own algorithm in a VMOD
I think that's the direction for us, so that we can control the dispatching to several clusters of backends by an id somewhere in the url.
Funny that we discussed VMODs at VUG2 in Amsterdam before they existed ;)
Been a Varnish fanboy ever since, it's done wonders for me (and billions of requests). Excellent job mate!