Real-time Push Solution for New House Listings in Beike App
This article details the implementation of a real-time push system for new house listings based on user search subscriptions.
本文重点讲解如何实现基于用户搜索订阅条件的房源新上实时推送方案。
核心难点在于当一个房源上架时,如何在海量复杂的用户订阅条件中快速找到哪些用户的订阅条件能命中该房源。
基于房源召回订阅条件,借鉴3.1索引的思路,采取以下方案:
1. 用户订阅条件数据结构描述:...
2. 基于房源新上实时召回订阅条件:...
3. 基于房源新上实时推送:...
该方案巧妙应用ES查询功能,将用户的搜索条件转换为与房源关联的数据结构,当房源新上时,实现了通过房源反查命中哪些用户的订阅条件,快速实现了消息实时推送。
Beike Product & Technology
As Beike's official product and technology account, we are committed to building a platform for sharing Beike's product and technology insights, targeting internet/O2O developers and product professionals. We share high-quality original articles, tech salon events, and recruitment information weekly. Welcome to follow us.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.