Mailing List Archive

varnish node without gcc
Hi,

is it possible to compile the final merged vcl configuration in a pre
step and then pushing it to the frontend nodes? So, no vcl config and
gcc on the frontend. Just a bin blob and a restart of the service.

Can this "compile while restart" activity splitted into to seprated
ones? Is that possible?

--
Thanks,
Leon

_______________________________________________
varnish-misc mailing list
varnish-misc@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
Re: varnish node without gcc [ In reply to ]
On Mon, Jun 15, 2020 at 12:29 PM <info+varnish@shee.org> wrote:
>
> Hi,
>
> is it possible to compile the final merged vcl configuration in a pre
> step and then pushing it to the frontend nodes? So, no vcl config and
> gcc on the frontend. Just a bin blob and a restart of the service.

It is technically possible to pass a blob around, but Varnish insists
on compiling VCL locally.

> Can this "compile while restart" activity splitted into to seprated
> ones? Is that possible?

There is no restart involved, VCL is meant to be loadable on the fly.

Dridi
_______________________________________________
varnish-misc mailing list
varnish-misc@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
Re: varnish node without gcc [ In reply to ]
Hi,

Just to add a detail here, you can have a look at "varnishadm param.show
cc_command" to see how varnish transforms the C into a shared object.

--
Guillaume Quintard


On Mon, Jun 15, 2020 at 6:26 AM Dridi Boukelmoune <dridi@varni.sh> wrote:

> On Mon, Jun 15, 2020 at 12:29 PM <info+varnish@shee.org> wrote:
> >
> > Hi,
> >
> > is it possible to compile the final merged vcl configuration in a pre
> > step and then pushing it to the frontend nodes? So, no vcl config and
> > gcc on the frontend. Just a bin blob and a restart of the service.
>
> It is technically possible to pass a blob around, but Varnish insists
> on compiling VCL locally.
>
> > Can this "compile while restart" activity splitted into to seprated
> > ones? Is that possible?
>
> There is no restart involved, VCL is meant to be loadable on the fly.
>
> Dridi
> _______________________________________________
> varnish-misc mailing list
> varnish-misc@varnish-cache.org
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>