Skip to content

Commit

Permalink
add reddit test data
Browse files Browse the repository at this point in the history
  • Loading branch information
scil committed Dec 24, 2015
1 parent 120a191 commit c46279a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ LaravelFly uses LaravelFlyServer(swoole http server) to run Laravel faster.

It's a composer package and can be installed on your existing projects without affecting nginx/apache server, that's to say, you can run LaravelFly server and nginx/apache server simultaneously to run same laravel project. So, it's easy to try LaravelFly.


## Test

There is a test: https://www.reddit.com/r/laravel/comments/3ttcmw/laravelfly_run_laravel_10x_faster_on_linux/cx9b3xu


## How to work

[Swoole](https://github.com/swoole/swoole-src) is an event-based & concurrent tool , written in C, for PHP. The memory allocated in Swoole worker will not be free'd after a request, that can improve preformance a lot.A swoole worker is like a php-fpm worker, every swoole worker is an independent process. When a fatal php error occurs, or a worker is killed by someone, or 'max_request' is handled, the worker would die and a new worker will be created.
Expand Down Expand Up @@ -136,3 +142,5 @@ If you use APC/OpCache, you could use one of these measures
Memory usage may grow slowly. You can set 'max_request' to a small number.

A simple way to detect memory usage growth is use Apache ab.exe and linux command "free"


0 comments on commit c46279a

Please sign in to comment.