Git Product home page Git Product logo

asyncrawl's Introduction

Read

lianjia 使用协程 对链家数据的一个获取
danmu 使用协程 获取大量弹幕信息。

要理解为什么这种方式最快

第一,先理清 同步 异步 阻塞 非阻塞这四个基本概念以及常用的io模型 Io模型

第二,理清进程 线程 协程的本质,理解什么时候该用什么 理解 协程 线程 进程

第三,理解python中的GIL GIL 理解

增加golang版本的。 go 是很适合这种应用的。 天生自带 m - n的gorotine

asyncrawl's People

Contributors

zhao94254 avatar

Watchers

 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.