Varnish as a redirector for a millions URLs
Poul-Henning Kamp
phk at phk.freebsd.dk
Thu May 23 16:45:36 CEST 2013
In message <CA+=Uhp8Eb6a6tgERfoMpiDg1Od15QAw+ZLBsuU+zTa++s4W8OQ at mail.gmail.com>
, Aleem B writes:
>It's based on a DB lookup. Currently I am using NGINX + Redis and there are
>about a million URLs.
Then you can either have a backend server do the lookup and have
varnish cache the result, or you can write a VMOD for varnish which
does the lookup and generate the redirects that way.
--
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.
More information about the varnish-dev
mailing list