BATCH-OPTIMIZED RENDER AND FETCH ARCHITECTURE
First Claim
1. A computer system comprising:
- at least one processor; and
memory storing;
a data store of content for embedded items, andinstructions that, when executed by the at least one processor, cause the system to;
receive a request, from a batch process, to render a web page,identify an embedded item in the web page,determine, based on a rewrite rule, that the embedded item has content that is duplicative of content for a previously fetched embedded item,in response to the determination, provide the content for the previously fetched embedded item from the data store,generate a rendering result for the web page using the content for the previously fetched embedded item, andprovide the rendering result to the batch process.
2 Assignments
0 Petitions
Accused Products
Abstract
Implementations include a batch-optimized render and fetch architecture. An example method performed by the architecture includes receiving a request from a batch process to render a web page and initializing a virtual clock and a task list for rendering the web page. The virtual clock stands still when a request for an embedded item is outstanding and when a task is ready to run. The method may also include generating a rendering result for the web page when the virtual clock matches a run time for a stop task in the task list, and providing the rendering result to the batch process. Another example method includes receiving a request from a batch process to render a web page, identifying an embedded item in the web page, and determining, based on a rewrite rule, that the embedded item has content that is duplicative of content for a previously fetched embedded item.
26 Citations
20 Claims
-
1. A computer system comprising:
-
at least one processor; and memory storing; a data store of content for embedded items, and instructions that, when executed by the at least one processor, cause the system to; receive a request, from a batch process, to render a web page, identify an embedded item in the web page, determine, based on a rewrite rule, that the embedded item has content that is duplicative of content for a previously fetched embedded item, in response to the determination, provide the content for the previously fetched embedded item from the data store, generate a rendering result for the web page using the content for the previously fetched embedded item, and provide the rendering result to the batch process. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A method comprising:
-
receiving a request, from a batch process, to render a web page; initializing, using at least one processor, a virtual clock and a task list for rendering the web page, wherein the virtual clock stands still when a request for an embedded item is outstanding and when a task is ready to run; generating, using the at least one processor, a rendering result for the web page when the virtual clock matches a run time for a stop task in the task list; and providing the rendering result to the batch process. - View Dependent Claims (9, 10, 11, 12, 13, 14, 15)
-
-
16. A method comprising:
-
receiving a request from a batch rendering process for Uniform Resource Locator (URL) of an embedded item in a web page; applying, using at least one processor, rewrite rules to determine a rewritten URL; determining, using the at least one processor, whether content for the rewritten URL exists in a data store; when the content exists, providing the content to the batch rendering process; and when the content does not exist; initiating a fetch of the content, wherein the batch rendering process is configured to wait without timing out during the fetch, receiving the content from a web-crawling engine, providing the content to the batch rendering process, and storing the content in the data store. - View Dependent Claims (17, 18, 19, 20)
-
Specification