UWSGI
文章平均质量分 63
crazyhacking
like a hacker
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
UWSGI配置文件---ini和xml示例
一 conf.ini文件: [uwsgi] http = $(HOSTNAME):9033 http-keepalive = 1 pythonpath = ../ module = service master = 1 processes = 8 daemonize = logs/uwsgi.log disable-logging = 1 buffer-size = 163原创 2014-01-07 13:36:00 · 19778 阅读 · 0 评论 -
uwsgi性能调忧
发现总是超时报警 1 使用sb确定网络具体征况 [bre@dmp-1 ~]$ ab -n 1000 -c 100 http://.com/Mapping.do? Concurrency Level: 100 Time taken for tests: 1.040 seconds Complete requests: 1000 Failed requ原创 2014-02-10 17:18:50 · 12308 阅读 · 1 评论 -
python zookeeper 在 uwsgi中 watcher不生效
def code_watcher(handle,type, state, path): print "zk code watcher,path is: ",path #data = zk.get(settings.ZKPATH_CODE,code_watcher) data = zookeeper.get(zk,settings.ZKPATH_CODE,code_watche原创 2014-11-10 18:35:41 · 1329 阅读 · 0 评论 -
UWSGITOP-----监控uwsgi 性能
启动 uwsgi -x etc/bfdds_cookiemapping_conf.xml --stats /tmp/stats.socket 查看 uwsgitop /tmp/stats.socket原创 2014-01-10 17:08:42 · 10302 阅读 · 0 评论 -
一个UWSGI的例子
原文http://pythonpaste.org/do-it-yourself-framework.html,http://blog.xsudo.com/archives/530.html 一个用来diy的框架 什么是WSGI wsgi是一个在web服务器和应用程序app之间统一的接口,这样来规范app和web server,说的简单一点就是规范的接受web请求(request),但是不转载 2014-01-21 17:59:45 · 4905 阅读 · 1 评论
分享