在边缘缓存动态内容

Photo by NASA on Unsplash

照片:NASAonUnsplash

PayPal Upstream PayLater messages inform customers about financing opportunities to purchase products from t-shirts to treadmills. In addition to notifying customers of a safe and secure pay later option, these messages can increase merchants’ conversion and average order values. There is much upside for consumers and merchant customers in a small piece of HTML.

PayPal上游PayLater信息告知客户购买从T恤衫到跑步机的产品的融资机会。除了通知顾客一个安全可靠的稍后付款选项外,这些信息还能提高商家的转换率和平均订单价值。在一小段HTML中,对消费者和商家客户有很多好处。

An example US Pay in 4 message

一个美国支付的例子

Delivering messages to customers may seem simple; however, at internet-scale, delivering messages to millions of consumers worldwide on thousands of merchant sites requires skilled engineering and sophisticated infrastructure. In addition to delivering the correct message to the proper merchant at the right time, PayPal’s merchant customers demand delivery of these messages at a ludicrous speed.

向客户传递信息似乎很简单;但是,在互联网规模上,向全球数以千计的商家网站上的数百万消费者传递信息需要熟练的工程和复杂的基础设施。除了要在正确的时间将正确的信息传递给正确的商家之外,PayPal的商家客户还要求以令人难以置信的速度传递这些信息。

The CDN Caching Dream (or, How I Learned to Stop Worrying and Love the Edge)

CDN缓存的梦想(或者,我如何学会停止担心并爱上边缘)。

Dramatic recreation of the team analyzing global upstream messaging demand (Source: filmschoolrejects)

戏剧性地再现了分析全球上游信息需求的团队 (来源:filmschoolrejects)

PayPal customers are located all around the world. When a customer visits a merchant’s website integrated with Pay Later messaging, the message request is routed to a PayPal data center where the Pay Later infrastructure determines the best Pay Later message to offer based on the merchant and amount of the item. Depending on the physical distance between the customer’s device and the PayPal data center, the request can take a long time to complete.

PayPal的客户分布在世界各地。当客户访问集成了Pay Later信息的商户网站时,信息请求被路由到PayPal数据中心,Pay Later基础设施根据商户和物品的数量决定提供最佳的Pay Later信息。根据客户的设备和PayPal数据中心之间的物理距离,请求可能需要很长的时间才能完成。

Most of this time penalty is unavoidable if we go all the way to the data center, limited by the speed of light ove...

开通本站会员,查看完整译文。

Home - Wiki
Copyright © 2011-2024 iteam. Current version is 2.139.0. UTC+08:00, 2024-12-23 05:46
浙ICP备14020137号-1 $Map of visitor$