3 ms·
I agree with the sentiment but running nginx+Python on an embedded MIPS device? That's getting pretty ridiculous! Better to go the other way (lower-level), I th
by bjackman 12y ago
I agree with the sentiment but running nginx+Python on an embedded MIPS device? That's getting pretty ridiculous! Better to go the other way (lower-level), I think.
- michh 12y agoI don't think using Python is significantly more ridiculous than the current practice of either using shell scripts or your own C code to parse form-data and generate HTML. In fact, it's probably a lot less ridiculous.
- mschuster91 12y agonginx has approx. 20MB footprint for 4 worker threads, add another 20MB for php... RAM is cheap these days, the cost of "ACME: Routers xxx,yyy,zzz hacked" headlines should be higher than the cost of equipping every router with 128MB of RAM. Even if you do the actual scripts in CGI, alone using nginx for the HTTP part would kill off many of the security problems arising from buggy HTTP header/auth parsing.