【问题标题】:AWS autoscaling based on uwsgi listen queue基于 uwsgi 监听队列的 AWS 自动伸缩
【发布时间】:2015-09-23 23:36:48
【问题描述】:

我想根据 uwsgi 侦听队列将实例添加到当前设置。如果 uwsgi 进程有大量积压,新机器将启动并响应请求。

【问题讨论】:

    标签: python django amazon-web-services uwsgi autoscaling


    【解决方案1】:

    你可以使用uWSGI报警子系统:

    http://uwsgi-docs.readthedocs.org/en/latest/AlarmSubsystem.html

    --alarm-backlog 函数将在侦听队列满时触发警报,此警报可以是调用 aws api 进行扩展的临时脚本

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2018-11-12
      • 1970-01-01
      • 2015-12-14
      • 2012-11-16
      • 2018-10-27
      • 2016-04-12
      • 2021-04-17
      • 1970-01-01
      相关资源
      最近更新 更多