Varnish regular expression evaluated at compile time.

Hugues Alary hugues.alary at gmail.com
Thu Oct 11 23:45:03 CEST 2012


Thanks for the clarification. I guess I'll have dig up my C knowledges now!

-Hugues

On Thu, Oct 11, 2012 at 3:46 AM, Tollef Fog Heen <
tfheen at varnish-software.com> wrote:

> ]] Hugues Alary
>
> > I don't know if it's gonna be the solution I'll adopt, but at this very
> > moment I only have that or coding a vmod. However I don't think that
> coding
> > a vmod is a solution as I would just implement something (regular
> > expression evaluation at run time) that phk says being too expensive.
>
> Yes, compiling it is expensive, but if you can afford it or not is
> obviously going to depend on the amount of CPU you have and your request
> rates.
>
> We currently don't support doing runtime compilation of regexes (as you
> discovered), so a vmod would be a way to go for now.
>
> --
> Tollef Fog Heen
> Technical lead, Varnish Software
> t: +47 21 98 92 64
>
> _______________________________________________
> varnish-misc mailing list
> varnish-misc at varnish-cache.org
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>



-- 
Hugues ALARY
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20121011/94493043/attachment.html>


More information about the varnish-misc mailing list