Hacker News new | past | comments | ask | show | jobs | submit login

App on AWS, data on S3, Varnish caches on Linode, Digital Ocean, etc. Route53 for managing geo-DNS.



Not sure I get the logic of Varnish being on different providers. Are your static assets also hosted on Linode/DO, in addition to Varnish?


Varnish caches dynamic app data. Your static assets should be in a CDN, served outside of your infrastructure.


So to put what I'm cofused about plainly (my fault on the confusion I'm sure :D ):

It sounds like the reason for having that outside of your primary infrastructure (or more accurately, inside a cheaper bandwidth host) are lower bandwidth costs with the trade-off of some slower requests getting sent to your origin server when the cached resource expires/is invalidated.


Exactly! You're architecting your infrastructure to take advantage of the most efficient cost option at each layer.


So mainly thinking of Varnish as the CDN -- paying a 3rd party CDN is pricey.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: