Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ryu1kn/gist--per-request-state
https://github.com/ryu1kn/gist--per-request-state
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/ryu1kn/gist--per-request-state
- Owner: ryu1kn
- Created: 2023-12-27T23:06:38.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2023-12-27T23:10:39.000Z (11 months ago)
- Last Synced: 2024-10-09T13:54:17.836Z (about 1 month 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
```