Skip to content

Commit bafa6bd

Browse files
Question about CGI has more context
1 parent 00df3df commit bafa6bd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,9 +222,9 @@ Sooner or later I will complete it with the relative answers. Feel free to contr
222222
* How would you design a software system for scalability?
223223
* Someone gave the name "The "C10k problem" to the problem of optimising network sockets to handle over 10.000 open connections at once. While handling 10.000 concurrent clients is not the same as handling 10.000 open connection, the context is similar. It's a tough challenge anyway, and no one is expected to know every single detail to solve it. It may be interesting to discuss the strategies you know to deal with that problem. Would you like to try?
224224
* How would you design a decentralized (that is, with no central server) P2P system?
225-
* Why doesn't CGI scale?
225+
* You may recall that Common Gateway Interface (CGI) is a standard protocol for web servers to execute programs (CGI scripts) that execute as Command-line programs on a server, and that dynamically generate HTML pages when invoked by a HTTP request. Perl and PHP used to be common languages for such scripts. In CGI, a HTTP request generally causes the invocation of a new process on the server, but FastCGI, SCGI and other approaches improved the mechanism, raising the performance, with techniques such as preforking processes. Can you imagine why has't CGI eventually win, and was instead replaced with other architectural approaches?
226226
* How would you defend the design of your systems against Vendor Lock-in?
227-
* What are the disadvantages of the Publish-Subscribe pattern at scale, if any?
227+
* What are the disadvantages of the Publish-Subscribe pattern at scale?
228228
* What's new in CPUs since the 80s, and how does it affect programming?
229229
* In which part of the lifecycle of a software performance should be taken in consideration, and how?
230230
* How could a Denial of Service arise not maliciously but for a design or architectural problem?

0 commit comments

Comments
 (0)