Coder Social home page Coder Social logo

jaydenok / easy-sw-web Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 9.7 MB

easyswoole项目, Multi-process, asynchronous, highly available application services

License: Apache License 2.0

PHP 75.18% Shell 1.29% Batchfile 0.58% HTML 3.25% CSS 17.47% JavaScript 2.24%
asynchronous easyswoole process

easy-sw-web's Introduction

easy-swoole-web

easy-swoole-web

启动

[root@ac_web easy_sw_web]# php easyswoole server start -d
  ______                          _____                              _
 |  ____|                        / ____|                            | |
 | |__      __ _   ___   _   _  | (___   __      __   ___     ___   | |   ___
 |  __|    / _` | / __| | | | |  \___ \  \ \ /\ / /  / _ \   / _ \  | |  / _ \
 | |____  | (_| | \__ \ | |_| |  ____) |  \ V  V /  | (_) | | (_) | | | |  __/
 |______|  \__,_| |___/  \__, | |_____/    \_/\_/    \___/   \___/  |_|  \___|
                          __/ |
                         |___/

main server                   SWOOLE_WEB
listen address                0.0.0.0
listen port                   9511
worker_num                    8
reload_async                  true
max_wait_time                 3
pid_file                      /root/easy_sw_web/Temp/pid.pid
log_file                      /root/easy_sw_web/Log/swoole.log
daemonize                     true
user                          root
swoole version                4.5.11
php version                   7.1.18
easyswoole version            3.5.1
run mode                      dev
temp dir                      /root/easy_sw_web/Temp
log dir                       /root/easy_sw_web/Log

[root@ac_web easy_sw_web]# php easyswoole process show
┌───────┬─────────────────────────┬───────────────────────┬─────────────┬─────────────────┬─────────────────────┬──────────────────────────────────┐
│  pid  │          name           │         group         │ memoryUsage │ memoryPeakUsage │     startUpTime     │               hash               │
├───────┼─────────────────────────┼───────────────────────┼─────────────┼─────────────────┼─────────────────────┼──────────────────────────────────┤
│ 20511 │ EasySwoole.Worker.0     │ EasySwoole.Worker     │ 3.05 mb     │ 4 mb            │ 2022-12-08 17:55:57 │                                  │
├───────┼─────────────────────────┼───────────────────────┼─────────────┼─────────────────┼─────────────────────┼──────────────────────────────────┤
│ 20512 │ EasySwoole.Worker.1     │ EasySwoole.Worker     │ 3.05 mb     │ 4 mb            │ 2022-12-08 17:55:57 │                                  │
├───────┼─────────────────────────┼───────────────────────┼─────────────┼─────────────────┼─────────────────────┼──────────────────────────────────┤
│ 20513 │ EasySwoole.Worker.2     │ EasySwoole.Worker     │ 3.05 mb     │ 4 mb            │ 2022-12-08 17:55:57 │                                  │
├───────┼─────────────────────────┼───────────────────────┼─────────────┼─────────────────┼─────────────────────┼──────────────────────────────────┤
│ 20514 │ EasySwoole.Worker.3     │ EasySwoole.Worker     │ 3.05 mb     │ 4 mb            │ 2022-12-08 17:55:57 │                                  │
├───────┼─────────────────────────┼───────────────────────┼─────────────┼─────────────────┼─────────────────────┼──────────────────────────────────┤
│ 20515 │ EasySwoole.Worker.4     │ EasySwoole.Worker     │ 3.05 mb     │ 4 mb            │ 2022-12-08 17:55:57 │                                  │
├───────┼─────────────────────────┼───────────────────────┼─────────────┼─────────────────┼─────────────────────┼──────────────────────────────────┤
│ 20516 │ EasySwoole.Worker.5     │ EasySwoole.Worker     │ 3.46 mb     │ 6 mb            │ 2022-12-08 17:55:57 │                                  │
├───────┼─────────────────────────┼───────────────────────┼─────────────┼─────────────────┼─────────────────────┼──────────────────────────────────┤
│ 20517 │ EasySwoole.Worker.6     │ EasySwoole.Worker     │ 3.05 mb     │ 4 mb            │ 2022-12-08 17:55:57 │                                  │
├───────┼─────────────────────────┼───────────────────────┼─────────────┼─────────────────┼─────────────────────┼──────────────────────────────────┤
│ 20518 │ EasySwoole.Worker.7     │ EasySwoole.Worker     │ 3.05 mb     │ 4 mb            │ 2022-12-08 17:55:57 │                                  │
├───────┼─────────────────────────┼───────────────────────┼─────────────┼─────────────────┼─────────────────────┼──────────────────────────────────┤
│ 20519 │ EasySwoole.TaskWorker.0 │ EasySwoole.TaskWorker │ 2.85 mb     │ 4 mb            │ 2022-12-08 17:55:57 │ 0000000066a20cd200000000393e0086 │
├───────┼─────────────────────────┼───────────────────────┼─────────────┼─────────────────┼─────────────────────┼──────────────────────────────────┤
│ 20520 │ EasySwoole.TaskWorker.1 │ EasySwoole.TaskWorker │ 2.85 mb     │ 4 mb            │ 2022-12-08 17:55:57 │ 0000000066a20cd100000000393e0086 │
├───────┼─────────────────────────┼───────────────────────┼─────────────┼─────────────────┼─────────────────────┼──────────────────────────────────┤
│ 20521 │ EasySwoole.TaskWorker.2 │ EasySwoole.TaskWorker │ 2.85 mb     │ 4 mb            │ 2022-12-08 17:55:57 │ 0000000066a20ccc00000000393e0086 │
├───────┼─────────────────────────┼───────────────────────┼─────────────┼─────────────────┼─────────────────────┼──────────────────────────────────┤
│ 20522 │ EasySwoole.TaskWorker.3 │ EasySwoole.TaskWorker │ 2.85 mb     │ 4 mb            │ 2022-12-08 17:55:57 │ 0000000066a20ccb00000000393e0086 │
├───────┼─────────────────────────┼───────────────────────┼─────────────┼─────────────────┼─────────────────────┼──────────────────────────────────┤
│ 20526 │ EasySwoole.Bridge       │ EasySwoole.Bridge     │ 2.86 mb     │ 4 mb            │ 2022-12-08 17:55:57 │ 0000000066a20cc300000000393e0086 │
├───────┼─────────────────────────┼───────────────────────┼─────────────┼─────────────────┼─────────────────────┼──────────────────────────────────┤
│ 20523 │ AsyncMessageProcess_0   │ AsyncMessageProcess   │ 2.9 mb      │ 4 mb            │ 2022-12-08 17:55:57 │ 0000000066a20cb500000000393e0086 │
├───────┼─────────────────────────┼───────────────────────┼─────────────┼─────────────────┼─────────────────────┼──────────────────────────────────┤
│ 20524 │ AsyncMessageProcess_1   │ AsyncMessageProcess   │ 2.9 mb      │ 4 mb            │ 2022-12-08 17:55:57 │ 0000000066a20cae00000000393e0086 │
├───────┼─────────────────────────┼───────────────────────┼─────────────┼─────────────────┼─────────────────────┼──────────────────────────────────┤
│ 20525 │ AsyncMessageProcess_2   │ AsyncMessageProcess   │ 2.9 mb      │ 4 mb            │ 2022-12-08 17:55:57 │ 0000000066a20cad00000000393e0086 │
└───────┴─────────────────────────┴───────────────────────┴─────────────┴─────────────────┴─────────────────────┴──────────────────────────────────┘

easy-sw-web's People

Contributors

jaydenok avatar

Stargazers

 avatar

Watchers

 avatar

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.