https://github.com/arnaud-lb/issue-8358
https://github.com/arnaud-lb/issue-8358
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/arnaud-lb/issue-8358
- Owner: arnaud-lb
- Created: 2022-04-17T08:47:05.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-04-17T08:51:18.000Z (about 3 years ago)
- Last Synced: 2025-01-10T19:23:23.614Z (5 months ago)
- Language: PHP
- Size: 3.54 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Start a server with the symfony demo app:
```
(cd code/base && composer install) && \
sudo docker-compose up
```Then open http://localhost:8080/
## Things I've tried:
Reset opcache:
```
curl http://localhost:8080/?reset=1
```Simulate a deployment:
```
(cd code && ts=$(date +%s) && rsync -a base/ $ts/ && rm -rf $ts/var/cache && mkdir $ts/var/cache && chmod 777 $ts/var/cache && rm -f current && ln -s $ts current && curl http://localhost:8080/?reset=1)
```Stress the server while doing any of the above:
```
ab -n 10000 -c 100 http://localhost:8080/en/blog/
```