https://github.com/ryu1kn/gist--per-request-state
https://github.com/ryu1kn/gist--per-request-state
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ryu1kn/gist--per-request-state
- Owner: ryu1kn
- Created: 2023-12-27T23:06:38.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-27T23:10:39.000Z (over 2 years ago)
- Last Synced: 2025-03-28T14:06:06.390Z (about 1 year ago)
- Language: Python
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Gist: Per-request state vs global state
Demonstration of the danger of keeping a per-request state into
a non-per-request state (e.g. singleton / global state etc)
```shell
docker-compose up
```
```shell
./request-in-parallel.sh
```