> 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
http://unbit.it
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to