Skip to content

Latest commit

 

History

History
20 lines (16 loc) · 354 Bytes

README.md

File metadata and controls

20 lines (16 loc) · 354 Bytes

Scraping Engine

Architecture Overview

sequenceDiagram
Cron Job->>Database: Scan for due jobs
Cron Job->>RabbitMQ: Push due jobs to RMQ
RabbitMQ->>Worker1..N: Pop queued scraping jobs
Worker1..N->>Database: Update scraped items
Cron Job->>Cron Job: Repeat
Loading

Usage

go build
./scraper scheduler &
./scraper scraper &