Code Monkey home page Code Monkey logo

gokurou's Introduction

gokurou

3日で1億ページクロールしたい。
つまり500crawl/secを目指すぞ。

進捗

2019/10/05時点ではMySQL, Redis, S3が必要。docker-compose.ymlでバチっとすれば全部立ち上がる。
(ただしS3関連のためにminio/minioを用いており、これのバケット作成は手動で行う必要あり)
go run cmd/gokurou/gokurou.goすればCLIツールがビルドされ実行されるので、後はそれに設定ファイルを渡して実行する。
設定ファイルは、docker-composeで立ち上がるコンテナに合わせた設定のサンプルをconfigs/config.sample.jsonとしてコミットしている。

$ go run cmd/gokurou/gokurou.go -c PATH
NAME:
   gokurou - Let's crawl web!

USAGE:
   gokurou [global options] command [arguments...]

VERSION:
   0.0.1

COMMANDS:
   seeding  Seeding initial URL
   crawl    Start to crawl
   reset    Reset all data(exclude 'artifact')
   help, h  Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --config PATH, -c PATH  configuration file PATH
   --help, -h              show help
   --version, -v           print the version

gokurou's People

Stargazers

Kenta Miyachi avatar

Watchers

James Cloos avatar murakmii avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.