This is a created article in which the information may have evolved or changed.
I spent 3 days to get started Golang, and then spent 3 days to read the source of Beego; half-day introductory python, half a day with Python wrote a crawler. The end of the good, I have never seen a genius like me, a jump three feet high run to the interview:
Q: Please design a relay server, forward the customer a-> customer B's request, and find ways to shorten the TCP 3 handshake time, and ensure security and integrity.
I:???
Q: Please design an nginx cluster, when one of the machines fails to quickly adjust and automatically recover, will not because the operation to give birth to children, resulting in unrecoverable.
Me: This I know, with raft algorithm each machine sends heartbeat packet Balabala ...
Q: How much master deployment?
I:???
Q: What are the causes of the deadlock in PHP process? How is automatic detection and auto-recovery?
I:???
Q: What are the data aggregation principles of the MongoDB cluster, and what are the different scenarios?
I:???
Q: How does MySQL solve the dirty read problem, and under what circumstances does the master thread fork other worker threads?
I:???
Q: Are you really interviewing for senior architect posts?
Me: Sorry, I wrote wrong, in fact I am a senior PHP engineer.
Q: Please use yield to implement the co-process, parallel processing of user multi-identity check, improve speed.
I:???
Q: Please write a function to implement the memory copy algorithm.
I:???
Q: You can't even write C?
I:...
Q: I heard that you are familiar with the common design patterns, please draw a UML class diagram of the design pattern you know.
I:???
I: Sorry, I just a little distracted, in fact, I am a web front-end engineer.
Q: Please outline JS's event loop specification and describe the difference between the macrotask mechanism and the microtask mechanism and the corresponding function.
I:???
Q: Somebody, give me a blast.