Push Notifications
Hello All
was wondering if Fastly can support Push notifications , where customers hit edge and queue or hold (long poll ) , and then edge goes ONCE to origin , polls the origin ( long Poll ) , and when answer is provided by origin - edge updates and answers all holding connections .
Idea is to have edge Pool the connections so that origin gets hit much less then if connections were directed straight to him
YS
-
Hi Yoni,
Fastly has a request collapsing feature enabled by default. Request Collapsing causes simultaneous cache misses within a single Fastly data center to be "collapsed" into a single request to an origin. Our help document provide more details in how this feature's behavior- Request Collapsing.
In addition to having request collapsing, another option would be to use Origin Shielding where you designate a datacenter closest to your origin as a "shield". If the edge servers do not have the content being requested, they fetch it from the shield server instead of your origin. Only when the shield server does not have the content being requested will Fastly send one request to your origin to fetch the content.
Please sign in to leave a comment.
Comments
2 comments