Summary of Shenzhen Jiwu Network Technology Co., Ltd.

After self-introduction, the interviewer asked to talk about the main tasks of the internship at the previous company

Then I started to ask questions about professional knowledge

1. You said to understand the collection, then talk about the structure of the List in the collection and what advantages it has

2. Do you know HashMap? Talk about the data structure of HashMap and the put implementation process

3. The difference between HashTable and HashMap, can Hashtable be null? Ask why Table is safe

4. Because HashMap is not safe, do you know that there is a safe HashMap? Let me ask you why ConcurrentHashMap is safe? Talk about its implementation, and ask about ReentrantLock

5. It is written on the resume to understand multithreading. You can talk about the implementation principle of Threadloacl, and ask several ways to create thread pools, and the common ways in work, why are they used like this? (Three methods, seven parameters, four rejection strategies)

6. Why use multithreading? What are the benefits of multithreading? (Explanation by example)

7. Talk about Spring's IOC, DI, AOP and explain them, and ask what are the AOP agents, and how are they implemented? What functional modules are implemented with AOP in Spring? (Here is an explanation based on the picture I drew, and an image example. One of them was not answered or I did not understand the meaning of the question. The question is: Why do I use AOP when I log, and can’t I directly quote the logging method? ? It is also a line of code? What is the difference with AOP?)

8. Which beans can be placed in Spring's IOC container? How? Is the bean in the container a singleton or multiple instances? Why is it a singleton? Can it not be multiple instances?

9. Talk about the relationship between SpringBoot and Spring. Why is SpringBoot an upgraded version of Sping? What is its principle?

10. Talk about the class loading mechanism, the specific role of each stage (three stages, seven small stages)

11. Talk about the principle of GC optimization

12. What garbage collectors do you know, how they are implemented, let’s talk a little bit (G1, CMS, serial, parallel)

13. Tell me why you want to use microservices. Are microservices better than stand-alone?

14. If you were asked to divide this stand-alone system into microservices, how many microservices would you divide into? On what basis, and why?

15. Talk about the implementation of the microservice registration discovery center, how does it find out which microservice is online?

16. Talk about the circuit breaker mechanism of Hystrix. If a microservice goes down, what are the effects? Does it have an impact?

17. Tell me about how you use feign and what are the points to note?

18. Tell me what do you use JWT for? How did it happen?

19. What are the implementation methods for SSO? (Said three kinds)

20. Know Docker? How is it implemented in it? What are the important links? (I don't know much about it here, so I just talked about what I did with Docker, and how I feel about it), ask what is the difference between docker and not using docker?

21. Tell me about the avalanche scenario of Redis and the solution? (The scenario is an example to explain, the solution only talks about the pre-existing way)

Finally, what do individuals want to ask about the company (asked about the training direction of the position, the scale of the company's IT, the situation of the branch and the job process), and the expected salary, the end.

There may be some that I haven’t remembered, but I think it’s just such a problem. The time is not too long, about an hour and a half, I feel okay. I am currently waiting for the retest. At the same time, there are a lot of interviews. See.

Guess you like

Origin blog.csdn.net/weixin_43562937/article/details/107111170