Hi There, > Indeed, you can't go directly from vcl_recv to vcl_deliver. > Using vcl_error will work, however vcl_error sets a Connection: close > header which will degrade performances a lot if a single client makes > multiple calls to the API.
we are using the exact same setup for an API (redis backend responses delivered by vcl_error) sending out about 15000 responses per second over a single virtual machine. Indeed single clints with a high RTT have a limited performance, but for us this does not matter. Sincerely, Tobias -- LAMP solutions GmbH Gostenhofer Hauptstrasse 35 90443 Nuernberg Amtsgericht Nuernberg: HRB 22366 Geschaeftsfuehrer: Heiko Schubert Es gelten unsere allgemeinen Geschaeftsbedingungen. http://www.lamp-solutions.de/agbs/ Telefon : 0911 / 376 516 0 Fax : 0911 / 376 516 11 E-Mail : [email protected] Web : www.lamp-solutions.de Facebook : http://www.facebook.com/LAMPsolutions Twitter : http://twitter.com/#!/lampsolutions _______________________________________________ varnish-misc mailing list [email protected] https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
