Distributed Search Index Sharding for Low-Latency CDN Queries

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional search techniques experience significant latency, high processing costs, and difficulty in scaling to handle higher query volumes due to the use of monolithic indexes stored on centralized search servers.

Innovation Solution

A distributed search index is operated within a content delivery network (CDN) that segments the index into shards, allowing queries to be processed on geographically distributed nodes with low latency and scalable resources, utilizing CDN nodes for query execution and caching to reduce latency and cost.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Speed

If a monolithic index is stored on a centralized search server, then query processing is simple and straightforward, but latency is high and scaling is difficult

Engineering Contradiction:
Improvequery processing speedVSAvoidsystem architecture complexity
Core Design Contradiction:
SpeedVSDevice complexity

Solution Approach 1:

The patent divides the monolithic search index into multiple distributed shards stored across different CDN nodes. Each shard contains a portion of the indexed documents, allowing queries to be processed in parallel across multiple nodes. This segmentation reduces query latency by enabling concurrent processing while distributing the index across the CDN infrastructure, resolving the contradiction between processing speed and system complexity.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces a query routing mechanism that acts as an intermediary between the client and distributed index shards. The router receives queries, determines which shards are relevant, and directs queries to the appropriate CDN nodes. This intermediary layer manages the complexity of distributed query processing while maintaining simple client interactions, resolving the contradiction between speed and complexity.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Productivity

If a monolithic index is used on a search server, then the system is easy to operate, but processing costs are high and scalability is limited

Engineering Contradiction:
Improvequery processing capacityVSAvoidsystem operation simplicity
Core Design Contradiction:
ProductivityVSEase of operation

Solution Approach 1:

The patent leverages the CDN infrastructure to serve multiple functions: storing index shards, processing queries, and providing global distribution. The same CDN network that delivers content also handles search operations, eliminating the need for dedicated search infrastructure. This multi-functionality increases processing capacity by utilizing existing distributed resources while maintaining operational simplicity through a unified CDN management interface.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Solution Approach 2:

The patent implements automatic query routing and shard selection that operates without manual intervention. The system automatically determines which shards to query based on the search terms and document metadata, distributing queries across available CDN nodes without requiring operational complexity. This self-service approach increases productivity while maintaining ease of operation.

Inventive Principle:
Principle #25Self-service

3Loss of time

If the index is distributed across CDN nodes, then latency is reduced and scaling is improved, but system complexity increases

Engineering Contradiction:
Improvequery latencyVSAvoidindex distribution complexity
Core Design Contradiction:
Loss of timeVSDevice complexity

Solution Approach 1:

The patent pre-distributes index shards to multiple CDN nodes before queries are received. The indexing process proactively creates and places document shards across the CDN infrastructure in advance, so that when queries arrive, the data is already positioned at edge locations close to users. This preliminary action reduces query latency by eliminating data transfer delays while the automated shard management handles the distribution complexity.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent implements a query routing system that learns from query patterns and optimizes shard selection. The router receives feedback from query results and performance metrics, adjusting its routing decisions to minimize latency. This feedback mechanism reduces query latency by adapting to actual system behavior while the automated feedback loop manages the complexity of distributed coordination.

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS12367226B2Operating a distributed search index in a content delivery network
Publication Date: 2025.07.22 ORAMASEARCH INC
  • US12367226B2 patent drawing
  • US12367226B2 patent drawing
  • US12367226B2 patent drawing

AI summary

A facility for distributing a search index for a corpus of documents is described. The facility accesses multiple search index segments collectively making up the search index. Each of the segments is executable to traverse an index subtree embedded in the segment to find in the index subtree a node representing a query term specified in an argument. Each of the segments corresponds to a particular indexed document field that is indexed by the search index. For each of the segments, the index subtree embedded the segment has nodes representing query terms that all produce a particular hash result. The facility calls a programmatic publication interface for a content delivery network to publish the plurality of search index segments on the content delivery network.