every time I go to an interview, this kind of question is always not answered well, and the answer on the Internet is too general
I would like to ask all the experts, how to talk about this kind of question from the project
every time I go to an interview, this kind of question is always not answered well, and the answer on the Internet is too general
I would like to ask all the experts, how to talk about this kind of question from the project
step by step, speak slowly. You'd better have practical experience. It doesn't matter if you don't have it. Basically, front end, agent, code (including code optimization), cache, server and database will all have
.for example, the code layer is very critical. You can also point to the design pattern and programming model, talk about the difference between the traditional one-request-one-thread pattern and the selector pattern, talk about the similarities and differences between the listening mode and the broadcast mode, and so on. These are all common concepts in multithreaded programming
.I hope you outline the outline and follow the clues to find it. The interview went well
in addition, I Code Cloud has written two projects about algorithms and multithreading. Algorithms are java versions of" algorithm diagrams ". Things in multithreaded projects should also be helpful to you. Don't worry, it will be quick step by step
.in the case of a single station, no matter how much you optimize, your code is well written, but it does not improve much. The amount of services that a single station can support is certain, and it will soon reach the bottleneck.
solving the problem of high concurrency definitely involves the concept of cluster / distribution:
application cluster / application distribution.
cache cluster.
Database cluster.
.
then expand
1: for example, how to cluster redis cache, what is the implementation plan, go to the Internet to search, and implement the following by yourself according to the example.
2: how applications are clustered and distributed.
.
you can take a look at the book "Technical Architecture of large websites"
https://book.douban.com/subje.
Previous: The value passed between the two custom components of WeChat Mini Programs wepy framework
Next: How do components wrapped by react high-level components operate state? within high-level components