NewsCrawler.org

DMM reworks inference infrastructure for search reranking, cutting costs by about 40%

検索リランキングの推論基盤の改善
リリース前後のリランキングのレイテンシ。リリース後はどの系列も下がり、特にp95とp99で改善幅が大きい
Image: zenn.dev

DMM's personalized search reorders candidate products by user preference using Learning to Rank (LTR)[1]. The company reworked the inference platform behind this reranking, which lowered latency and cut the monthly cost of the whole platform by about 40%.

The original design ran one Python inference API on Google Cloud that both fetched product features and scored candidates. Waiting on feature reads dominated the processing time, and feature fetching and model inference could not be scaled separately.

The new design moves feature reads into a Go ML API. Features are precomputed by the training pipeline and stored in Valkey[2] under separate keys for each experiment group. The Go API sends them over gRPC[3] to a Python inference API that only preprocesses and scores, and training and inference now share one preprocessing module.

Read the original zenn.dev

Sources

  • Zenn JA

    検索リランキングの推論基盤の改善

    13 likes2 bookmarks0 comments

Published: First seen: Читать по-русски

Open as a page