GithubHelp home page GithubHelp logo

好像存在性能瓶颈 about proxypool HOT 6 CLOSED

henson avatar henson commented on July 19, 2024
好像存在性能瓶颈

from proxypool.

Comments (6)

henson avatar henson commented on July 19, 2024

哦,完成写入之后连接就没有断掉,谢谢你提醒

from proxypool.

henson avatar henson commented on July 19, 2024

查了下,是mgo的问题,有童鞋遇到过了:

本司礼物系统使用了golang的 mongo库 mgo,中间踩了一些坑,总结下避免大家再踩坑

golang的mgo库说明里是说明了开启连接复用的,但观察实验发现,这并没有根本实现连接的控制,连接复用仅在有空闲连接时生效,高并发时无可用连接会不断创建新连接,所以最终还是需要程序员自行去限制最大连接才行

http://www.cnblogs.com/shenguanpu/p/5318727.html

from proxypool.

henson avatar henson commented on July 19, 2024

我已经优化了,麻烦您再测试一下并反馈,谢谢

from proxypool.

netaxcess avatar netaxcess commented on July 19, 2024

我测试下看

from proxypool.

netaxcess avatar netaxcess commented on July 19, 2024

测试过。连接数下来了。牛 。。

from proxypool.

henson avatar henson commented on July 19, 2024

好的,谢谢反馈

from proxypool.

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.