Rayobyte vs Geonode

Rayobyte vs Geonode for Scrapy: Proxy Middleware, Routing and Costs

Rayobyte and Geonode compared for Scrapy projects: setting request.meta proxies, routing domains between products and providers, sessions for pagination, concurrency settings and cost per crawl.

By Team of Monkeys Editorial Updated 3 min read Affiliate disclosure

This guide contains affiliate links to Geonode, Webshare and Rayobyte. If you buy through them we may earn a commission, at no extra cost to you.

Scrapy: Rayobyte vs Geonode illustration showing Scrapy spider connecting through Compare to Items, covering middleware, routing 3jdej38j4

Scrapy setup on both

Scrapy reads request.meta["proxy"]. Put a Rayobyte or Geonode proxy URL there, credentials included, and the built-in middleware does the rest. A small custom middleware can route each domain to a different product, or a different provider. See Rayobyte with Scrapy, Geonode with Scrapy and Scrapy proxies.

Setting up rotating proxies in Scrapy, part of a longer Scrapy tutorial series. Video: CodersLegacy on YouTube

Routing across both providers

python
TIERS = {
    "ry_dc": os.environ["RAYOBYTE_DC_PROXY"],
    "gn_resi": os.environ["GEONODE_RESI_PROXY"],
    "ry_unblock": os.environ["RAYOBYTE_UNBLOCKER_PROXY"],
}
ROUTES = {"hard.example": "gn_resi", "impossible.example": "ry_unblock"}

class ProxyRouter:
    def process_request(self, request, spider):
        host = urlparse(request.url).hostname or ""
        request.meta.setdefault("proxy", TIERS[ROUTES.get(host, "ry_dc")])

Because Rayobyte's Web Unblocker is a proxy endpoint, it fits Scrapy's proxy model directly. Geonode's Scraper API is an HTTP API, so you'd call it as a URL rather than a proxy.

Running a clean residential pool like (animated GIF) 3jdej38j4
Running a clean residential pool like. GIF via GIPHY

Pagination sessions

Pass a session ID through meta and reuse it with response.follow(). Rayobyte sessions last up to 120 minutes and Geonode's up to 24 hours; a typical paginated crawl needs minutes.

Concurrency

Set CONCURRENT_REQUESTS below your plan's limit and CONCURRENT_REQUESTS_PER_DOMAIN low enough to be polite. Rayobyte's Premium Residential lists unlimited concurrency; Scale Residential and monthly rotating ISP allow one request per dollar.

Residential tip: Many teams end up using more than one provider: Rayobyte for ZIP and ASN targeted residential traffic or its Scraping API, Geonode for non-expiring per-GB bandwidth and long sticky sessions. Start with using Rayobyte with Scrapy.

Costs for a typical crawl

A 500,000-page crawl at 120 KB per page is about 60 GB. On Rayobyte rotating datacenter that's roughly $17 if the sites allow it. On residential, Geonode is cheaper per GB at that size, while Rayobyte would cost $120 at the $2 tier. See pricing compared.

A short overview of Rayobyte as an enterprise proxy provider. Video: Rayobyte (formerly Blazing SEO) on YouTube

Which to choose

Scrapy projectBetter fit
Large crawl of lenient sitesRayobyte datacenter
Protected sites, modest volumeGeonode residential
A few impossible domainsRayobyte Web Unblocker
Site discovery as a serviceGeonode Map and Crawl APIs

With Webshare too: Scrapy across all three.

A real-world example

A Scrapy project crawls 300 sites nightly. A downloader middleware routes 250 sites to Rayobyte rotating datacenter, 45 to Geonode residential and 5 to Rayobyte's Web Unblocker. Scrapy stats record responses by provider and status, so each morning's report shows block rates per route. Sites whose block rate passes 10% on datacenter are promoted to residential automatically for the next run.

Proxy tip: To test the Geonode side of this comparison, a small residential balance from Geonode is enough, and it doesn't expire if you pause. See using Geonode with Scrapy for its full product range.

Pros and cons for Scrapy

Rayobyte

  • Every product, including the unblocker, fits Scrapy's proxy model.
  • Cheapest datacenter per GB.

Geonode

  • Cheaper residential at modest volume.
  • Crawl API as an alternative for discovery.
  • API-based managed scraping needs request changes, not just a proxy URL.

If you're still shortlisting, compare these options with the wider market in our best proxies guide, and use our cheap proxies guide to estimate a sensible budget. To understand the IP type behind this, read our residential proxies guide.

Budget tip: If you want a cheap proxy to try this with, Webshare has a free plan with 10 datacenter proxies and 1 GB of bandwidth a month, no card required. Paid lists let you pick proxy count, bandwidth and location. See using Webshare with Scrapy.

Key takeaways

  • Both plug into Scrapy through request.meta["proxy"].
  • A router middleware can mix products and providers per domain.
  • Rayobyte's Web Unblocker fits Scrapy's proxy model directly.
  • Geonode is cheaper for modest residential; Rayobyte for datacenter.

FAQ

Do I need a rotation package for Scrapy?

Not with rotating gateways on either provider.

Can Scrapy use Geonode's Scraper API?

Yes, by requesting the API URL with the target as a parameter instead of using it as a proxy.

Which is cheaper for big Scrapy crawls?

On lenient sites, Rayobyte datacenter. On protected sites at modest volume, Geonode residential.

Sources and further reading

Independent references that back up the points above, from standards bodies, governments, universities and non-profits. They open in a new tab.

Affiliate disclosure: Team of Monkeys is an affiliate of Geonode, Webshare and Rayobyte. Links and banners marked as sponsored, and links to Geonode, Webshare and Rayobyte in the text, use our referral links, and we may earn a commission if you buy through them, at no extra cost to you. Our explanations and comparisons are written to be useful whichever provider you choose.

Editorial note: Proxy providers change their pools, features and prices often, so treat any figures here as typical ranges at the time of writing and confirm current terms with the provider before you buy.