# sw-fw-less

### 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
* API: <http://127.0.0.1:9501/redis?key=key>
* Concurrent: 300
* Tool: JMeter 4.0 r1823414

Result:

![](/files/-LU0aLSYh4PYpodhFSac)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://sw-fw-less.gitbook.io/project/master.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
