Promise引擎中的垃圾收集优化

Authors:

作者。

,

,

Valuable Contributions:

有价值的贡献。

,

,

Background

背景介绍

If you have used the Myntra app to purchase a product, you would normally browse the product on the search page and select it to get the details. This action takes you to the product detail page where complete information about the product such as attributes, images, etc is shown.

如果您使用Myntra应用程序购买产品,您通常会在搜索页面上浏览该产品,并选择该产品以获得详细信息。这个动作会把你带到产品详情页,在那里显示关于产品的完整信息,如属性、图片等。

Along with this information, you will also see whether that specific product can be delivered to the Pincode specified and what time it will take to get it delivered.

除了这些信息,你还会看到该特定产品是否能被送到指定的Pincode,以及需要多长时间才能送到。

The product can’t be delivered to Pincode 793106

该产品无法送达793106的邮编。

The product can be delivered to Pincode 560068 with the delivery date of 14th March

该产品可送至Pincode 560068,交货日期为3月14日。

Promise engine is the service that powers this information. It is a tier 1 service that provides information about Serviceability and Promise.

Promise引擎是驱动这些信息的服务。它是一个一级服务,提供关于可服务性和Promise的信息。

Serviceability: Whether a product on Myntra can be delivered to customer Pincode

服务性。Myntra上的产品是否能送达客户的Pincode

Promise: The time it will take to deliver the product to the customer

承诺:向客户交付产品所需的时间

Multiple storefront services call it to get this information in real-time which makes it a very critical service. This service gets a varied load which ranges from 10K-40K RPM per server and p99 is expected to be below 50ms. Also, the service level agreement states that the request timeout set by the storefront clients is very strict(400ms) so our p99.5 and p99.9 should be bounded, or else it will result in frequent request timeouts.

多个店面服务调用它来实时获得这些信息,这使得它成为一个非常关键的服务。这项服务的负载是不同的,每台服务器的转速在10K-40K之间,而p99预计会低于50ms。另外,服务水平协议规定,店面客户设置的请求超时是非常严格的(400ms),所以我们的p99.5和p99.9应该是有界限的,否则会导致请求频繁超时。

Problem

问题

Promise engine uses network configurations to come up with the details that a product can be delivered to a customer’s Pincode. These raw configurations are stored in a relational database. The application preprocesses this...

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

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