Docunext


Varnish CDB

July 29th, 2009

I added a feature request to the Varnish Trac site recently: the ability to look up values in a cdb file.

That would really be awesome as it would enable fast look ups of key-value pairs. Would it be fast enough for every request? I think it would be, cdb is the fastest hash reference that I'm aware of. It would be nice for keeping urls consistent over time, without having to rely on complex regular expressions for everything. Regular expressions are great for some url rewriting schemes, but sometimes all you need is a simple key-value pair.

Yearly Indexes: 2003 2004 2006 2007 2008 2009 2010 2011 2012 2013 2015 2019 2020 2022