sw-fw-less
  • sw-fw-less
  • get started
    • Installation
    • Directory
    • Config
    • Quick Start
  • MVC
    • Router
    • Middleware
    • Request
    • Param Validator
    • Model
    • Response
  • Database
    • MySQL
    • Redis
    • Elasticsearch
  • Storage
    • General
    • File
    • Qiniu
    • Alioss
  • OTHER
    • Pagination
    • Helper
    • Error Handler
    • AMQP-0-9-1
    • Events
  • Deployment
    • Nginx
    • Docker
  • APPENDIX
    • Development Rules
Powered by GitBook
On this page
  • Features
  • Requirements
  • Performance

Was this helpful?

sw-fw-less

Swoole Http Server without Framework

Features

  1. Faster Router

  2. Router & Global Middleware

  3. Model(MySQL & Eleasticsearch、Json Serializable、Array Accessable)

  4. Query Builder(MySQL & Elasticsearch)

  5. Connection Pool(MySQL、Redis、AMQP-0-9-1)

  6. Storage(File、Qiniu、Alioss)

  7. Full Coroutine

  8. Log(Based on Monolog)

  9. Distributed Lock(Based on Redis)

  10. Parameter Validator

  11. Monitor

  12. AMQP-0-9-1

  13. Zipkin Trace

Requirements

  • PHP 7.1+

  • Swoole 4.2.*

Performance

Environment:

  • OS: MacOS 10.14.1

  • CPU: 2.3 GHz Intel Core i5 4 Cores

  • Memory: 16 GB 2133 MHz LPDDR3

  • Swoole: 4.2.9

  • PHP: 7.2.8

  • Redis: 4.0.11

  • Concurrent: 300

  • Tool: JMeter 4.0 r1823414

Result:

NextInstallation

Last updated 6 years ago

Was this helpful?

API:

http://127.0.0.1:9501/redis?key=key