We can't use CDN for an internal site due to network infrastructure but what would be the best practice to simulate one? Knowing that we can speed it up by leveraging Varnish cache server. Any architecture ideas?
There is no difference between an internal setup vs. external setup:
- front-facing reverse proxy like Nginx or Apache which proxies back all requests to
- Varnish which proxies all requests to a loadbalancer like
- HAProxy which balances the remaining uncached requests to
- 1..N Plone ZEO clients
Thank You @zopyx for the super quick response.. We are looking for a generic setup picture/ diagram to share with our Systems Administrators.
I understand there are multiple options available is there a Pros/ Cons of one versus another. We have multiple locations in the Asia Pacific region, traffic coming back to the United States is not helpful, looking for a viable solution in lieu of AWS/ Azure etc.m
Varnish does not and can not replace a global CDN.
There are various commercial providers for private CDNs.
Otherwise build out own CDN (google for "build your own CDN")...
I don't thinlk that there is any difference between internal setup and the external setup.