yhllow / island

一个分布式的爬虫项目

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Go Distributed Reptile

  • 相信这个项目,对于学习分布式系统或者爬虫的你来说,帮助是巨大的。
  • 项目的思路来自于慕课网的ccmouse老师链接
  • 微服务教程学习吧

技术栈

Go, Protobuf, Consul, Docker, Elasticsearch, BloomFilter

必须要做的

Docker的方式部署

  • cd crawler_distributed/persist/server

    make build
    make docker 
    
  • cd crawler_distributed/worker/server

    make build
    make docker 
    
  • cd crawler_distributed

    make build
    make docker 
    
  • cd crawler/frontend

    make build
    make docker 
    
  • cd island

    docker-compose up -d
    
  • http://192.168.31.231:8888/search?q=大众(自己的ip)

小贴士

  1. 由于系统是一个分布式的,所以整体下来 还是有一点难度
  2. 大家好好看一下吧,欢迎大家多多的PR

About

一个分布式的爬虫项目


Languages

Language:Go 99.9%Language:Makefile 0.1%Language:Dockerfile 0.0%