Trying to get a few ideas for re-doing LowEndPing's request methods, a few options I have thought of so far have been:
- use shell_exec/exec to fork into the background if allowed, post back to the master server
- write a daemon (Python, PHP, Node.js whatever) to handle requests, seems like the cleanest way right now
- use the current system, hanging a PHP process while the request executes (pretty bad if it's a production server, usually isn't)
Any other ideas? Needs to be as efficient as possible, the whole system relies on a 'query id', which is calculated by the master server and will probably be sent to each of the sub servers.
Also needs to be secure, can't be just executing commands randomly