[uWSGI] Varnish 4.0

Roberto De Ioris roberto at unbit.it
Wed Apr 16 10:25:09 CEST 2014

> Howto:
> http://blog.zenika.com/index.php?post/2013/07/31/Creating-a-Varnish-4-module
> random director:
> https://github.com/varnish/Varnish-Cache/blob/master/lib/libvmod_directors/random.c

looks really interesting.

Theoretically, you could spawn a pthread on varnish initialization waiting
for udp subscription packets (i do not think it is possibile to allow its
main engine to wait on an additional file descriptor).

Subscription subsystem is pretty big (crypto functions, hashing,
load-balacing algo), so yes, probably it would be better to have a shared
library implementing it (or directly load libuwsgi.so but i suppose this
would be a waste of memory)

Roberto De Ioris

More information about the uWSGI mailing list