VIP23 (VSL refactoring) design sketch

Nils Goroll nils.goroll at
Thu Apr 11 15:45:13 UTC 2019

> - New VSL*() code writes binary data to log records. They take
> printf-like format strings (which can be generated from the SLT sources)
> and varargs, so that the order and types of the args can be checked at
> compile-time. 

The alternative - auto-generated functions taking typed arguments, would yield
in a different interface, so while I am perfectly fine with aiming for
correctness first, the decision for

	- either a printf-style VSL() or
	- custom functions like VSLb_ts()

would ideally be made early on.

I will try to come up with some performance data.

Other than that, I do fully agree with the summary.



** * * UPLEX - Nils Goroll Systemoptimierung

Scheffelstraße 32
22301 Hamburg

tel +49 40 28805731
mob +49 170 2723133
fax +49 40 42949753


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <>

More information about the varnish-dev mailing list