4 ms·
Honestly, sensors is a really bad example. Each CGI request has to create a new process, that can easily mean entire seconds of CPU per request. A few sensors
by user5994461 7y ago
Honestly, sensors is a really bad example.
Each CGI request has to create a new process, that can easily mean entire seconds of CPU per request.
A few sensors sending information from time to time will quickly turn into a massive resource hog. Having used CGI extensively, one of the biggest caveats is resource exhaustion and the ensuing DDoS.
- JJMcJ 7y agoThat's why I explicitly chose every 10 minutes. There are situations like that. I have seen CGIs where usage started very slow and then gre t the point of friendly DDoS, and it's not fun because the CGI is usually built deep into the architecture by that point.