Giter VIP home page Giter VIP logo

大众点评的例子中, 启动并行 page 默认开启时获取到的列表页为 3170个。关闭这个选项,获取到的列表页有6506个。即,启动并行 时,会发生数据丢失的现象。 about hawk HOT 1 CLOSED

ferventdesert avatar ferventdesert commented on August 26, 2024
大众点评的例子中, 启动并行 page 默认开启时获取到的列表页为 3170个。关闭这个选项,获取到的列表页有6506个。即,启动并行 时,会发生数据丢失的现象。

from hawk.

Comments (1)

ferventdesert avatar ferventdesert commented on August 26, 2024

TODO问题已经解决,但是忘了改这个标签了。
主要问题是,并行之后很多请求会同时发起,限制于网速和稳定性原因, 确实会有部分页面丢掉。尤其是当根页面列表页,比如某个类目的根请求没有拿到,则这个类目就丢掉了。
做错误重试目前还是有难度,解决方案就是降低采集速度,提升稳定性

from hawk.

Related Issues (20)

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.