News for hackers. Stuff that matters.
Re:What Were CGI Scripts? by NelsonMinar on Sunday July 21, 2019 @02:22PM (#20492813)
I still do a fair amount of CGI; it's just fine for low traffic simple web services. Startup time for the script isn't awesome, to fix that you want FCGI or SCGI or whatever. Apache's default MPM these days is event (or worker) which scales CGI pretty well. Beware that it's not thread safe, so if your CGI script is doing something multithreaded it will break. (Related: if you're doing something multithreaded, it's time to graduate from CGI).
Re:What Were CGI Scripts? by covener on Sunday July 21, 2019 @07:25PM (#20494338)
Multiple CGIs under worker and event get their own processes, they don't run in the same process as Apache nor eachother