3 months from a small company to NetEase with a monthly salary of 25K. God knows what I have experienced. I will share my social recruitment experience (Java)

Preface

First of all, I would like to introduce myself. I usually graduated with a book. I was laid off by my old boss at the beginning of the year due to the epidemic. After that, I lived with my friends and waited to die. The turning point was May. I had a meal with the boss in early May. , I feel that I can’t go on like this anymore. I took the interview materials that a big guy gave me and the interviews I read on the Internet. In September, I got NetEase’s referral opportunity. The interview went through a month and finally last month. Successfully got the oral offer, now I will also write a face-to-face to help everyone!

Netease interview questions

1. What kind of data structure does redis have? How do you know which structure is used for a key?

2. How to view all keys? How does redis switch libraries? How to clear the data?

3. Describe the redis elimination strategy? Can the read request be eliminated if there is no data or if the elimination strategy is not configured, can the read request be executed normally?

4. Is redis in your project a single node? How to synchronize if multiple nodes?

5. What data is stored in the project using redis? Why use redis? What is the difference between memcache and local cache?

6. Which open source frameworks have you used? Which is the most familiar? (I talked about spring here, so the following questions are all about spring), which injection method do you use? What is the difference between BeanFactory and ApplicationContext? Which one is used in your project? Talk about the life cycle of spring beans. What is the realization principle of AOP? Two dynamic proxy implementation principles? Why does JDK dynamic proxy implement interfaces?

7. Describe spring's ioc and aop

8. What content has been added in HTTP 1.1? What are the ways to request?

9. Describe the HTTP three-way handshake and four-way wave process? Why do I need to wave four times? Why does the TIME_WAIT state need to pass two maximum segment lifetimes to reach the close state?

10. What process does the browser go through from initiating a request to receiving the response?

Face sharing

The following is the interview information that the big guy gave me and the review information I summarized based on the interview questions to share with you, including a lot of knowledge points, including basic knowledge, Java collections, JVM, multi-threaded concurrency, spring principles, Microservices, Netty and RPC, Kafka, diary, design pattern, Java algorithm, database, Zookeeper, distributed cache, data structure, etc. Friends in need can click here to comment csdn to get it free of charge, I hope it can be helpful to you!

11. How is spring task realized?

12. How do you use spring affairs? What does spring do with the @Transcational annotation? How do you know that the transaction is executed successfully?

13. What modules does nginx have? Which one are you more familiar with?

14. How do you configure proxy_cache? Where does the cache exist? How exactly does it hit the cache? There was nginx in the resume, but I didn’t answer a few questions, and the interviewer didn’t ask any more. 囧~The level of transaction isolation? What is the default level of mysql? Transaction propagation properties? What is spring default? When do nested transaction sub-transactions commit?

15. What is the relationship between spring and springMVC? Have you used JdbcTemplate?

16. What is the processing flow of the entire request in springMVC? Which view is used to return json?

17. How to check the threads in a process?

18. How to replace a character in all files in a folder in batches? (Sed command)

19. Have you ever used the jps jmap jstack jstat command? What are the commonly used parameters?

20. What is the process of defining Integer x=20 Integer y=200 in memory?

21. The principle of the volatile keyword? Can it guarantee atomicity? How is the bottom layer of AtomicInteger implemented?

22. Principles and differences between hashMap and concurrentHashMap? Under what circumstances will a circular linked list appear in hashMap? What lock is used when writing concurrentHashMap? How does RenteenLock's bottom layer ensure thread safety?

23. How is the mysql index implemented? What are the characteristics of b+ tree? Where does the real data exist?

24. Under what circumstances will index be built? Explain the leftmost matching principle? Now a table has three columns abc, where a like? and b=? and c=? Can this combined index be used when querying a composite index (a, b, c)? why?

25. Have you seen the explain execution plan? What are the values ​​of the type field? What do they represent?

26. What sql tuning experience do you have?

27. Can reflection get the private methods of the parent class? How to prevent reflection from destroying the singleton mode?

28. Describe the JVM memory model. What is the role of each zone? The working principle of heap memory, why do we need two survival areas? Can only one work? What garbage collection algorithm is used in the old age?

29. Has the threadLocal keyword ever been useful? What if you just get directly without overriding the initialValue method?

30. Describe the principle of multithreading. How to start a thread? What is the difference between start and run methods? How to create a thread pool and what is the meaning of the parameters passed in? How does the thread pool maintain the number of core threads? How to implement a custom rejection strategy?

31, Socket programming nio

32. Design a system with 10 billion pieces of data every day, which needs to be displayed and searched in real time in the background

33. Use code to implement the function of cat 1.log |grep a |sort |uniq -c |sort -rn

34. If a server suddenly becomes very slow, how to locate the problem?

At last

For large companies, full review is the key to eliminating your nervous state of mind, but if you review enough, you will naturally have more confidence in the interview process. The following information is provided to you free of charge, I hope it will be helpful to you:
Insert picture description here
Insert picture description here
Insert picture description here

For the interview with a large factory, I want to emphasize that the mentality is really important. It is the key to determining your role in the interview process. All the above information is provided to everyone free of charge . Friends in need can click here to comment csdn to receive all , I hope to help you! If you can't perform normally, it's likely that you missed the offer because of a small mistake, so you must pay attention to it.

Guess you like

Origin blog.csdn.net/weixin_49494194/article/details/110184552