I need an extra layer of caching in front of my Galaxy servers for WebAPIs and such. I’ve got some experienced with Varnish in the past, but wanted to check in and see what people have found works best for them in their production Meteor configuration.
At the moment I’ve got a CDN as the first line, but would like a proxy in between the CDN and web servers.
I wouldn’t say it’s bad, just that it has myriad possible responses
In our product, for instance, we use HAProxy for part of our infrastructure (caching certain outbound HTTP Get requests), Varnish for another (where we generate multiple images a second, which the front-end consumes), http-proxy plugged into Meteor as an authentication proxy for certain services only accessible via HTTP, and NGINX as reverse proxy in front of everything.
Personally I recommend a reverse proxy in front of Meteor in any case, even if you have a CDN. There are several blogs telling you how to configure it. There are very rare cases (Cloudflare & maybe other CDNs that obscure your IP) in which you may forego that.