Code Monkey home page Code Monkey logo

zerocost's Introduction

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.