Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Measurement Conditions and Scope

The analysis covers arXiv Fast Crawl and Recovery for the 25,000-ID corpus, reference reruns dominated by cache hits, and a 500-ID benchmark with empty caches. Reference-rerun results were reconciled with the exported metrics and crawl records. The notebook generates figures and tables from the analysis data during compilation.

The 500-ID benchmark covers acquisition through export and validation. The reported active time includes API retries and failed lookups. The workload contains 100 IDs from each of the five assigned ranges.

Source

How Much Time Is Spent on Fast Crawl and Recovery?

Figure 1. Recorded arXiv phase durations in decimal hours. Each horizontal bar represents a range; phase values are labeled inside and their sum to the right. Bar lengths use the printed phase times and labels are rounded to two decimals.

Source
<IPython.core.display.Image object>
Loading...

What Do the Semantic Scholar Timers Include?

Figure 2. Fetch, crawl-loop and notebook-cell times from the cache-heavy reruns. Each panel uses its own scale. Labels below each range give the number of fresh publication lookups.

Source
<IPython.core.display.Image object>
Loading...

What Memory Was Observed in the Reference Rerun?

Figure 3. Average and peak sampled Semantic Scholar notebook-process RSS, converted from bytes to MiB. The two series share a zero-based scale; each label shows the measured value to two decimal places.

Source
<IPython.core.display.Image object>
Loading...

How Much Persistent Storage Do the arXiv Checkpoints Use?

Figure 4. Final compressed arXiv checkpoint sizes, including retained source files and bookkeeping. Values are in MiB and describe persistent checkpoint output.

Source
<IPython.core.display.Image object>
Loading...

What Storage Was Measured for Semantic Scholar?

Figure 5. The left panel shows final S2 range-directory sizes after table export, estimated from cache metrics and Drive file sizes. The right shows the sampled peak of the reference-cache directory during the crawl cell. Both use MiB and retain their different directory and time scopes.

Source
<IPython.core.display.Image object>
Loading...

Recorded Measurements by Run

Table 1. Run identifiers and measured stage results. RSS is converted directly from the original byte values. Final S2 output size comes from the cache metrics plus post-export table file sizes on Drive.

Source
Loading...

HTTP Request Activity

Table 2. Publication lookups and HTTP attempts in each rerun. Retries and HTTP 429 responses are counted at request level.

Source
Loading...

The five reruns recorded 33 fresh publication lookups, 81 HTTP attempts, 48 retries and 48 HTTP 429 responses. Final publication outcomes appear in Statistics.

Full-Corpus Final Storage

The compressed arXiv checkpoints and final S2 directory tree have different representations. Their sum measures the saved output footprint of these two stages, including their bookkeeping; it is distinct from uncompressed retained source content or peak working disk.

Loading...

Interpreting Historical Runtime and Request Pacing

The historical ledger contains 110 recorded invocations (30 Fast Crawl, 80 Recovery), with 1,380 Recovery checkpoint updates. An update is a batch rewrite and does not mean that every publication was downloaded again.

A theoretical request-count model gives each 50-ID batch one initial metadata query, one source request per expected version, and ceil(S / 80) intermediate-date queries, where S = sum(max(latest_version - 2, 0)) within that batch. It excludes retries and extra checks. The counts below incorporate the three reconciled source versions. The calculation N * 3.1 s describes a nominal pacing budget; with a freely starting first request, an inter-start-only minimum would instead use (N - 1) * 3.1 s before network/processing costs.

Loading...
Loading...

Empty-Cache Benchmark on 500 Assigned IDs

The benchmark ran on Google Colab in CPU-only mode with 2 vCPU x86_64, Linux 6.6.159+ and Python 3.13.18. It takes the first 100 IDs in each range, for 25 batches of 20 IDs. The stages run sequentially with one worker and initially empty caches. arXiv uses a 3.1-second minimum interval and four retries. S2 uses an API key, a 1-second minimum interval and a 60-second cooldown after a terminal HTTP 429.

Figure 6. Active time by phase and publication outcomes at each crawl stage. Active time includes delay and retries and excludes setup, downtime and packaging.

<IPython.core.display.Image object>
Loading...

Table 3. Timings, final statuses and HTTP activity in the benchmark. Per-ID times divide by the 500 original inputs, including unsuccessful lookups.

Loading...
Loading...
Loading...
Loading...

Sampled Process-Tree RAM

Figure 7. Average and peak process-tree RSS by phase and for the full benchmark. The report records 23,784 samples, at a nominal interval of 0.5 seconds. The whole-benchmark average uses all recorded samples.

<IPython.core.display.Image object>
Loading...

Sampled Disk and Final Benchmark Output

Figure 8. Peak sampled disk and final output across the benchmark range directories on Drive. The report records 2,337 samples at a nominal interval of 5 seconds. The measurements exclude telemetry and source-code files.

<IPython.core.display.Image object>
Loading...
Loading...

Illustrative Extrapolation to 25,000 IDs

Table 4. The estimates use measurements from a 20-ID pilot and a 500-ID benchmark. The 25,000-ID column is an extrapolation. Time and disk use linear scaling from the 500-ID measurements by a factor of 50. RAM uses a line fitted to the two reported points against the logarithm of ID count. Disk figures are available for the 500-ID benchmark.

Loading...

The time estimate assumes the same active time per ID as the 500-ID run, including its observed throttling and retries. Disk scaling assumes the same space per ID. The two-point RAM fit has no independent validation at larger sizes. Use the estimates as a scenario for the sample’s conditions. The historical arXiv ledger and the measured corpus output of about 2.70 GiB describe separately observed results.