What is a thread?

The Unlimited Residential Proxy plan is billed per threads.

A thread is a single sequential flow within a program. Multithreading refers to using two more threads concurrently within a program.

For Example. If you need to scrape data from a website with 1,000 pages, you can use one or multiple threads to complete the task.

Let's assume that it takes 1 second for 1 thread to scrape 1 page.

If using 1 thread, you need to finish scraping page 1 before you can proceed to page 2, the total time required is 1,000 seconds.

If using 10 threads, you can scrape up to 10 pages simultaneously, the total time required is 100 seconds.

If using 100 threads, you can scrape up to 100 pages simultaneously, the total time required is 10 seconds.

If using 1,000 threads, you can scrape up to 1,000 pages simultaneously, the total time needed is 1 second.