摘要 |
A system, method, or computer-readable medium provide a look-up table having information on roots in repositories managed by a repository manager, the roots information in the look-up table being only n-levels deep. A file request is received, including filename and filepath with root. Before checking repositories managed by the repository manager for the requested file, the look-up table is referenced to determine whether the root of the requested file exists on one of the repositories managed by the repository manager. A check of the repository is bypassed when the look-up table does not indicate that the root exists on the repository. The repository is checked for the requested file, when the root is indicated as existing on the repository. The requested file is returned, if actually found on one repository. A “fail” response is returned, if the root is not indicated as existing in the look-up table. |
主权项 |
1. A computer system that manages requests for files, comprising:
a look-up table storage configured to store a look-up table having information on roots that are stored on repositories managed by a repository manager, the information on the roots in the look-up table being only n-levels deep, wherein n-levels is a same predetermined number of levels; a memory; and a processor cooperatively operable with the look-up table storage and the memory, and configured to, based on instructions stored in the memory:
before checking repositories managed by the repository manager for the requested file, determines by reference, limited to the root of the requested file or only part of the root of the requested file, to the look-up table whether the root of the requested file exists on one of the repositories managed by the repository manager;bypasses a check of the one of the repositories when the look-up table does not indicate that the root exists on the repository;checks the repository for the requested file, when the root is indicated as existing on the repository;returns the requested file, if found on at least one of the repositories; andreturns a “fail” response to the request for the file, if the root of the requested file is not indicated as existing in the look-up table. |