https://github.com/artnum/sh-reqid
History of request in shared memory
https://github.com/artnum/sh-reqid
history php semaphore shared-memory
Last synced: 15 days ago
JSON representation
History of request in shared memory
- Host: GitHub
- URL: https://github.com/artnum/sh-reqid
- Owner: artnum
- License: mit
- Created: 2020-08-18T18:22:48.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-08-18T20:00:19.000Z (almost 6 years ago)
- Last Synced: 2025-01-21T13:25:44.683Z (over 1 year ago)
- Topics: history, php, semaphore, shared-memory
- Language: PHP
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# sh-reqid
Having have to work with buggy application that send twice (or more) the same HTTP request which could be troublesome in some case, I set up a small history using PHP session, but PHP session use file locking which can be slow. You can setup a Redis server (or anything alike) to handle PHP session but this might be a bit heavy in some use case. So the idea is to use shared memory and semaphore ... it might be faster and lighter to setup (in fact, no setup at all).
This is a work in progress.