推荐学习书目
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
510908220
0.02D
V2EX  ›  Python

Python 实现一个网站可用性监控系统

  •  
  •   510908220 ·
    CallStorm · Dec 14, 2018 · 4030 views
    This topic created in 2749 days ago, the information mentioned may be changed or developed.

    这是一个监控站点是否可以访问的系统. 简单来说就是在不同地域、不同运营商环境部署一些监测点,然后将各个监测点结果汇总起来,精确的去判断站点的可访问性.

    https://510908220.github.io/site-monitor/

    有兴趣的伙伴可以一起交流

    3 replies    2018-12-15 14:06:08 +08:00
    rayingecho
        1
    rayingecho  
       Dec 14, 2018
    之前调研过类似方案, 其实难点在于如何覆盖所有终端用户的请求环境.
    当时的状况下站点需要全球访问, 在全球自己去部监测节点显然是不现实的, 所以最后只能找一些 SaaS 服务商
    510908220
        2
    510908220  
    OP
       Dec 15, 2018
    @rayingecho 是的。 如果单纯为自己服务,那去找一些全球范围的监测点是不显示。 但是对于那种国内,像银行之类的,有些只需要全国或者省内访问,有上百个站点等还是有一定作用的。
    kevin1234
        3
    kevin1234  
       Dec 15, 2018
    这个能针对 http 发起 get post 带参数 认证方式吗
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1623 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 61ms · UTC 16:28 · PVG 00:28 · LAX 09:28 · JFK 12:28
    ♥ Do have faith in what you're doing.