Feed Fetching Latency Optimization via Dual-Query Segmentation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Users face frustration due to long wait times for content on webpages, leading to a trade-off between response time and quality of service in online services like social networks, where quick delivery of interesting content is essential but often compromised by the need to sift through large amounts of data.

Innovation Solution

Implementing a system that splits feed fetching into two processes, using a fast query for recent updates and a slower query for additional updates, with AI predictive models to determine content relevance and preloading cache based on user behavior, allowing for quick delivery of quality content by blending results from both queries.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Manufacturing precision

If the online service sorts through a large amount of data to get the information that most interests the user, then the quality of content is improved, but the response time increases

Engineering Contradiction:
Improvequality of contentVSAvoidresponse time
Core Design Contradiction:
Manufacturing precisionVSLoss of time

Solution Approach 1:

The patent divides the feed fetching process into two separate queries: a fast query that retrieves recent updates quickly, and a slower query that retrieves additional updates with broader time horizons. This segmentation allows the system to deliver high-quality content by combining results from both queries while minimizing the perceived response time by presenting fast results first.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system performs preliminary actions by preloading cache based on user behavior predictions using AI models. This allows the system to have content ready in advance, reducing the actual response time when users request their feeds while maintaining content quality through pre-filtered and pre-ranked results.

Inventive Principle:
Principle #10Preliminary action

2Manufacturing precision

If the user waits a long time to get the best content, then the quality of service is improved, but the user satisfaction decreases

Engineering Contradiction:
Improvequality of serviceVSAvoiduser satisfaction
Core Design Contradiction:
Manufacturing precisionVSEase of operation

Solution Approach 1:

The patent segments the content delivery into immediate results from the fast query and subsequent results from the slower query. This allows users to immediately see relevant content without waiting for comprehensive processing, improving satisfaction while maintaining quality through the blended results of both queries.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system performs partial action by initially delivering a subset of the best content through the fast query rather than waiting for complete processing. This partial delivery satisfies user needs immediately, with the understanding that additional content will follow, thereby maintaining both quality and user satisfaction.

Inventive Principle:
Principle #16Partial or excessive action

3Speed

If the online service delivers content quickly, then the response time is improved, but the quality of content may decrease

Engineering Contradiction:
Improveresponse timeVSAvoidquality of content
Core Design Contradiction:
SpeedVSManufacturing precision

Solution Approach 1:

The patent uses segmentation to separate the quick delivery function (fast query for recent updates) from the comprehensive quality assurance function (slower query for additional updates with broader criteria). By blending results from both queries, the system achieves both speed and quality simultaneously.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system merges results from two different queries with different time horizons and ranking criteria. This combination allows the fast query to provide immediate response while the slower query ensures content quality, and their merged results deliver both speed and quality in the final feed presentation.

Inventive Principle:
Principle #5Merging (Combining)

Data Source

PatentUS11334566B2Latency optimization for online service feed
Publication Date: 2022.05.17 MICROSOFT TECHNOLOGY LICENSING LLC
  • US11334566B2 patent drawing
  • US11334566B2 patent drawing
  • US11334566B2 patent drawing

AI summary

Methods, systems, and computer programs are presented for reducing latency for providing a user feed containing one or more posts. One method includes operations for receiving a request to access the user feed and for performing a first query to search posts. The first query uses a first time horizon delimiting a creation time of posts and a first maximum number of posts selected for ranking. The posts from the first query are sent to the client device for presentation on a user interface. Further, a second query is performed to search posts, where the second query uses a second time horizon that is greater than the first time horizon and a second maximum number of posts for ranking that is greater than the first maximum number of posts. The posts from the first query and the second query are merged and sent to the client device for presentation.