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:

Last updated