GithubHelp home page GithubHelp logo

Comments (20)

realsuxingyu avatar realsuxingyu commented on July 16, 2024

以上问题从数天前就发生了
今天做数据汇总的时候发现非常诡异
各种数据的sum非常异常 subject rate 全部sum 居然有三亿 一查居然很多条目返回标记数量几千万
还有查询735000以后的用户居然也有返回 不过是随机的另外一个用户

from api.

realsuxingyu avatar realsuxingyu commented on July 16, 2024

xMCXHH.md.png
核实无误 请管理员看看是怎么一回事

from api.

trim21 avatar trim21 commented on July 16, 2024

image
image
无法复现

16777215 看起来像是 uint24 的上界

from api.

trim21 avatar trim21 commented on July 16, 2024

也可能是cache的问题,我一会禁用下试试。

from api.

realsuxingyu avatar realsuxingyu commented on July 16, 2024

xM8seJ.md.png
xM86oR.md.png

我看了看日日志 返回的数值确实完整来自服务器 应该是你数据库内存撞了或者是什么原因吧
不过不是持续性的
可能哪里有些问题 你可以查一查日志

from api.

realsuxingyu avatar realsuxingyu commented on July 16, 2024

至于官网多个uid返回一个username和超出正常访问的uid返回随机正常uid
这个就比较无解了
因为只是最后一天出现的现象、如果是我代码问题不可能前几天一直正常
更神奇的是接下来又自动正常了
由于冗余没做到位 也没天天备份
导致我现在修复usertable真的是很痛苦(bgm38)
xM8oeH.md.png
xM87TA.md.png
xM8qYt.md.png

from api.

trim21 avatar trim21 commented on July 16, 2024

收藏人数这个是老bug。

我再看看user ID的问题

from api.

realsuxingyu avatar realsuxingyu commented on July 16, 2024

xMGlfx.md.png
看看这张表 着实很诡异

from api.

realsuxingyu avatar realsuxingyu commented on July 16, 2024

还有想确认下 最近一个星期api调用量和主站数据库连接量明显增大了么?
MySQL connection error 是爬虫的锅么?
有没有添加什么限制措施?

from api.

trim21 avatar trim21 commented on July 16, 2024

爬API对数据库影响不太大,爬主站影响很大。

from api.

trim21 avatar trim21 commented on July 16, 2024

爬主站爬太快就会造成MySQL connection error

from api.

realsuxingyu avatar realsuxingyu commented on July 16, 2024

102011
101968
等一批user很奇怪、怎么请求api都是报错
为什么会有这种连状态都没有的用户?

from api.

trim21 avatar trim21 commented on July 16, 2024

image
无法复现

from api.

realsuxingyu avatar realsuxingyu commented on July 16, 2024

@trim21 那你看看第一个uid

from api.

trim21 avatar trim21 commented on July 16, 2024

404 not found

from api.

realsuxingyu avatar realsuxingyu commented on July 16, 2024

bgm不是会显示[用户已注销] [已封禁]这种的么 为什么会404 not found
https://bgm.tv/user/101693
68是我打字打错了

from api.

realsuxingyu avatar realsuxingyu commented on July 16, 2024

这种404的用户大概有几千吧

from api.

trim21 avatar trim21 commented on July 16, 2024

用户id是mysql的自增id,不一定是连续的。

from api.

realsuxingyu avatar realsuxingyu commented on July 16, 2024

管理员……
净是403的错误怎么办
请求增大些并发量
感觉至少低了两个数量级
…… …… 请考虑下吧
@trim21

from api.

realsuxingyu avatar realsuxingyu commented on July 16, 2024

xQldgS.md.jpg
@trim21

from api.

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.