推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
DozySun
V2EX  ›  Python

有谁写过 python 进程网络请求流量控制代码,或者有什么软件推荐

  •  
  •   DozySun · Nov 8, 2015 · 3514 views
    This topic created in 3839 days ago, the information mentioned may be changed or developed.
    最近项目需要对进程网络请求流量进行管理,针对不同的进程 id 实现对每个进程流量大小的控制,能动态设置被控制进程的流量大小,不知道各位 v 友有什么比较好的推荐
    4 replies    2015-11-08 23:03:29 +08:00
    Karblue
        1
    Karblue  
       Nov 8, 2015 via Android   ❤️ 1
    这玩意还是看平台。。 windows 最简单的办法就是上驱动,或者全局 hook , linux 就 ptrace 吧, python 不大好实现。。还是用 c/c++吧
    datou552211
        2
    datou552211  
       Nov 8, 2015 via iPhone   ❤️ 1
    漏桶 令牌桶
    ericFork
        3
    ericFork  
       Nov 8, 2015   ❤️ 1
    如果端口不同,可以用 iptables 统计
    DozySun
        4
    DozySun  
    OP
       Nov 8, 2015
    @ericFork 相同程序同端口开启不同进程不同请求地址
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3162 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 00:25 · PVG 08:25 · LAX 17:25 · JFK 20:25
    ♥ Do have faith in what you're doing.