Nothing Special   »   [go: up one dir, main page]

Skip to content

a2235565/ZeroCost

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

2017-3-15 code by yzy

目录结构
Cache 缓存文件
Task 队列文件夹
  |-TaskTest5.php 队列示例
  |-TaskTest7.php 队列示例
Config 配置文件
  |-aotoLoad.php 自动加载项
  |-conf.php 系统配置项
  |-dbConf.php 数据库配置项
Core 核心
  |-Autoload.php 自动加载函数
  |-Controller.php 控制器父类
  |-Error.php 报错监控类
  |-error.tpl 报错模板
  |-function.php 公共函数
  |-Register.php 注册树
  |-ZeroCost.php 核心
  |-Task_Php5.php 队列接口类
  |-Task_Php7.php 队列接口类
Db 数据库
  |-medoo.php medoo 数据库扩展类
Log 日志
Model 数据模型目录
  |-Index.php 测试实例model
Project 控制器目录
  |-Index 模块名
    |-Index.php 控制器
  |-System 模块名(系统内置)
    |-TaskList.php Web队列基础
Route 路由
  |-Route.php 路由文件
WebRoot
  |-index.php 网站入口
View 视图层
  |-index.html 模板
README.md

根据 yzymvc修改
路由规则 get ?m=xx&c=xx&a=xx

This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking 127.0.0.1 (be patient)
Completed 50000 requests
Completed 100000 requests
Completed 150000 requests
Completed 200000 requests
Completed 250000 requests
Completed 300000 requests
Completed 350000 requests
Completed 400000 requests
Completed 450000 requests
Completed 500000 requests
Finished 500000 requests


Server Software:        nginx
Server Hostname:        ---------
Server Port:            80

Document Path:          /
Document Length:        162 bytes

Concurrency Level:      100
Time taken for tests:   33.491 seconds
Complete requests:      500000
Failed requests:        0
Write errors:           0
Non-2xx responses:      500000
Total transferred:      152500000 bytes
HTML transferred:       81000000 bytes
Requests per second:    14929.44 [#/sec] (mean)
Time per request:       6.698 [ms] (mean)
Time per request:       0.067 [ms] (mean, across all concurrent requests)
Transfer rate:          4446.76 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0    0   0.5      0       5
Processing:     1    6   2.9      6     164
Waiting:        0    6   3.0      6     164
Total:          3    7   2.8      7     164

Percentage of the requests served within a certain time (ms)
  50%      7
  66%      8
  75%      8
  80%      8
  90%      9
  95%      9
  98%     10
  99%     11
 100%    164 (longest request)