sharing data between shield POPs in different continents
Hi,
we have 2 origin backends in EU and US, and shield POP for each (BOS and FRA).
Both backends serve same info (are duplicated for performance and failsafe).
As avg url rendering takes ~500ms, and ping from BOS-FRA is ~150ms,
can we check other shield for cache before requesting from assigned origin?
-
Hello,
Each POP manages its own cache, and they don't share it with each other.
Unfortunately, there is no (easy) way to implement the request flow you described.With two backends and two shields, you will increase the backend requests for the same contents by two. It may not be necessary. I would recommend to create one shield and have a director with the list of backends:
https://docs.fastly.com/vcl/directors/It should improve the cache hit ratio and would help to reduce the complexity of the configuration.
However, if you want to discuss other options, feel free to contact us at support@fastly.com
Please sign in to leave a comment.
Comments
1 comment