zonghua
关注
1506 号成员,2015-09-12 00:59:33 加入
3.4k
个人主页 浏览
1.0k
帖子 + 回帖 + 评论
36h27m
在线时长
  • Spring Data jpa web支持问题

    2016-03-23 21:21

    @88250 SQL 注入

  • 20160322 午夜俱乐部

    2016-03-23 18:13

    @88250 所以我只会玩,其他的什么都做不了

  • 20160322 午夜俱乐部

    2016-03-22 23:18

    1458659902426

  • 20160322 午夜俱乐部

    2016-03-22 23:14

    1458659662114

    呵呵

  • 20160322 午夜俱乐部

    2016-03-22 23:14

    SymX 不应该是链接到 GitHub 吗

  • 几天没来 社区又变样了

    2016-03-22 13:15

    @Vanessa 当前在线 143

  • 父母过生日,大家都送什么?

    2016-03-22 13:14

    送手机送电脑,等我拿到第一笔工资

  • 昨天在v2看到一句话“不知道自己是擅长编程,还是擅长谷歌”

    2016-03-22 00:34

    我没有电脑,连代码都写不了。

  • 20160320 午夜俱乐部

    2016-03-21 10:52

    1458528738833

    春眠不觉晓

  • 面试题 给初级程序员,只要都填的出即可

    2016-03-20 10:03

    @yangyujiao 我能写四种单例,然而

  • 为什么回复是按楼层倒序

    2016-03-20 00:51

    节点的设计很不好,还是直接按照标签划分更好,多对多,图结构

  • 20160319 午夜俱乐部

    2016-03-20 00:18

    1458404278401

  • 20160319 午夜俱乐部

    2016-03-20 00:17

    1458404255126

    爆表啦

  • 20160319 午夜俱乐部

    2016-03-20 00:17

    1458404250554

  • 20160319 午夜俱乐部

    2016-03-20 00:15

    1458404101825

    深夜开车

  • Python Web 部署是 uWSGI 还是 gunicorn 更优?

    2016-03-20 00:14

    @onlyice 网络的话除了 Http 的东西我都看不懂了

  • Python-List基本操作

    2016-03-19 18:36

    长度用的是 len(list)

    1458383771761

    面向对象去哪了

  • Python Web 部署是 uWSGI 还是 gunicorn 更优?

    2016-03-19 18:34

    看来是 uwsgi 最快

  • Python Web 部署是 uWSGI 还是 gunicorn 更优?

    2016-03-19 17:40

    使用 uwsgi --sock 127.0.0.1:8001 --max_process 2

    Document Path:          /
    Document Length:        1767 bytes
    
    Concurrency Level:      100
    Time taken for tests:   18.602 seconds
    Complete requests:      10000
    Failed requests:        0
    Total transferred:      19320000 bytes
    HTML transferred:       17670000 bytes
    Requests per second:    537.59 [#/sec] (mean)
    Time per request:       186.015 [ms] (mean)
    Time per request:       1.860 [ms] (mean, across all concurrent requests)
    Transfer rate:          1014.28 [Kbytes/sec] received
    
    Connection Times (ms)
    			  min  mean[+/-sd] median   max
    Connect:        0    0   1.0      0      11
    Processing:     8  185  11.7    185     201
    Waiting:        5  185  11.7    185     201
    Total:         13  185  11.0    185     202
    
    Percentage of the requests served within a certain time (ms)
      50%    185
      66%    189
      75%    191
      80%    192
      90%    194
      95%    196
      98%    198
      99%    199
     100%    202 (longest request)
    
  • Python Web 部署是 uWSGI 还是 gunicorn 更优?

    2016-03-19 16:45

    使用 uwsgi --http :8000 --module project.wsgi

    Document Path:          /
    Document Length:        1767 bytes
    
    Concurrency Level:      100
    Time taken for tests:   22.060 seconds
    Complete requests:      10000
    Failed requests:        0
    Total transferred:      19170000 bytes
    HTML transferred:       17670000 bytes
    Requests per second:    453.30 [#/sec] (mean)
    Time per request:       220.604 [ms] (mean)
    Time per request:       2.206 [ms] (mean, across all concurrent requests)
    Transfer rate:          848.61 [Kbytes/sec] received
    
    Connection Times (ms)
    			  min  mean[+/-sd] median   max
    Connect:        0    0   0.9      0      11
    Processing:     8  219  13.3    221     241
    Waiting:        5  219  13.4    221     241
    Total:         13  220  12.6    221     241
    
    Percentage of the requests served within a certain time (ms)
      50%    221
      66%    223
      75%    224
      80%    225
      90%    227
      95%    229
      98%    234
      99%    237
     100%    241 (longest request)
    
  • Python Web 部署是 uWSGI 还是 gunicorn 更优?

    2016-03-19 16:38

    貌似开多个进程都没有用

  • Python Web 部署是 uWSGI 还是 gunicorn 更优?

    2016-03-19 16:37

    使用 gunicorn -w 4

    Document Path:          /
    Document Length:        1767 bytes
    
    Concurrency Level:      100
    Time taken for tests:   20.554 seconds
    Complete requests:      10000
    Failed requests:        0
    Total transferred:      19170000 bytes
    HTML transferred:       17670000 bytes
    Requests per second:    486.53 [#/sec] (mean)
    Time per request:       205.537 [ms] (mean)
    Time per request:       2.055 [ms] (mean, across all concurrent requests)
    Transfer rate:          910.82 [Kbytes/sec] received
    
    Connection Times (ms)
    			  min  mean[+/-sd] median   max
    Connect:        0    0   0.9      0      11
    Processing:     8  204  13.7    205     243
    Waiting:        5  204  13.7    205     243
    Total:         13  205  13.0    205     243
    
    Percentage of the requests served within a certain time (ms)
      50%    205
      66%    208
      75%    210
      80%    212
      90%    216
      95%    220
      98%    224
      99%    228
     100%    243 (longest request)
    
  • Python Web 部署是 uWSGI 还是 gunicorn 更优?

    2016-03-19 16:33

    使用 gunicorn -w 2
    Document Path: /
    Document Length: 1767 bytes

    Concurrency Level:      100
    Time taken for tests:   20.704 seconds
    Complete requests:      10000
    Failed requests:        0
    Total transferred:      19170000 bytes
    HTML transferred:       17670000 bytes
    Requests per second:    483.00 [#/sec] (mean)
    Time per request:       207.041 [ms] (mean)
    Time per request:       2.070 [ms] (mean, across all concurrent requests)
    Transfer rate:          904.20 [Kbytes/sec] received
    
    Connection Times (ms)
    			  min  mean[+/-sd] median   max
    Connect:        0    0   1.0      0      11
    Processing:     8  206  13.1    207     247
    Waiting:        6  206  13.1    207     247
    Total:         14  206  12.4    207     247
    
    Percentage of the requests served within a certain time (ms)
      50%    207
      66%    209
      75%    211
      80%    212
      90%    216
      95%    218
      98%    220
      99%    221
     100%    247 (longest request)
    
  • Python Web 部署是 uWSGI 还是 gunicorn 更优?

    2016-03-19 16:28

    使用 gunicorn

    Document Path:          /
    Document Length:        1767 bytes
    
    Concurrency Level:      100
    Time taken for tests:   20.769 seconds
    Complete requests:      10000
    Failed requests:        0
    Total transferred:      19170000 bytes
    HTML transferred:       17670000 bytes
    Requests per second:    481.49 [#/sec] (mean)
    Time per request:       207.690 [ms] (mean)
    Time per request:       2.077 [ms] (mean, across all concurrent requests)
    Transfer rate:          901.38 [Kbytes/sec] received
    
    Connection Times (ms)
    			  min  mean[+/-sd] median   max
    Connect:        0    0   0.9      0      10
    Processing:     7  207  13.2    208     225
    Waiting:        5  207  13.2    208     225
    Total:         13  207  12.5    208     225
    
    Percentage of the requests served within a certain time (ms)
      50%    208
      66%    210
      75%    212
      80%    213
      90%    216
      95%    218
      98%    221
      99%    222
     100%    225 (longest request)
    
  • Python Web 部署是 uWSGI 还是 gunicorn 更优?

    2016-03-19 16:26

    使用测试服务器
    ./manage.py runserver
    Server Software: nginx/1.8.1
    Server Hostname: localhost
    Server Port: 80

    Document Path:          /
    Document Length:        1767 bytes
    
    Concurrency Level:      100
    Time taken for tests:   28.410 seconds
    Complete requests:      10000
    Failed requests:        206
       (Connect: 0, Receive: 0, Length: 206, Exceptions: 0)
    Non-2xx responses:      206
    Total transferred:      18841636 bytes
    HTML transferred:       17341430 bytes
    Requests per second:    351.99 [#/sec] (mean)
    Time per request:       284.096 [ms] (mean)
    Time per request:       2.841 [ms] (mean, across all concurrent requests)
    Transfer rate:          647.67 [Kbytes/sec] received
    
    Connection Times (ms)
    			  min  mean[+/-sd] median   max
    Connect:        0    0   0.8      0      10
    Processing:    19  271 858.4     35   15029
    Waiting:       19  271 858.3     35   15029
    Total:         27  271 858.8     35   15029
    
    Percentage of the requests served within a certain time (ms)
      50%     35
      66%     36
      75%     37
      80%     38
      90%   1033
      95%   1038
      98%   4271
      99%   4276
     100%  15029 (longest request)
    
  • Python Web 部署是 uWSGI 还是 gunicorn 更优?

    2016-03-18 19:54

    @onlyice Gunicorn 实际上启动的是 python 自己的 Http 服务?而 WSGI 是另外的基于 socket 的协议

  • android 程序可以很随意的看到源代码?

    2016-03-18 12:20

    是的是的,我就拿到密码看过别人后台管理的页面。
    他把密码直接写到 java 代码里没了。

  • CentOS6.7虚拟机安装记录

    2016-03-18 12:18

    穷困潦倒

  • CentOS6.7虚拟机安装记录

    2016-03-18 12:18

    还是那句话,硬盘满了。