Java development for four years: Simian Meituan Dianping (thread concurrency+JVM+NIO+Mysql+distributed), successfully obtained Offer

ç¾å ¢ ç¹è¯ipoå®ä »· åºé´ç¡®å®?

Coordinates Shanghai, Jinjiuyinshi won the offer of Meituan Dianping's senior Java post, 35k before salary and tax.

Until August of this year, I felt that I was almost ready and started to invest in resumes, including senior Java positions in various Internet companies such as Ali, Tencent, Toutiao, Meituan Dianping, JD.com, and finally got an interview opportunity from Meituan and succeeded. Won the offer of Meituan Dianping Senior Java Post.

PS.

2. Recently, many technical positions in Meituan have opened up. Interested friends should hurry up~

Meituan Dianping's advanced Java side (technical, telephone interview, about 40 minutes)

  1. Self introduction.
  2. Project Introduction.
  3. Have you understood the redis source code and redis cluster?
  4. How does redis guarantee thread safety in distributed mode?
  5. The principle of Hashmap, source code?
  6. How does the back-end data structure shift in the case of Hashmap additions and deletions?
  7. Why is the hashmap capacity a power of 2?
  8. Do you know the method of object class?
  9. Have you rewritten hashcode and equals, what should you pay attention to?
  10. Jvm memory partition, why should there be a new generation and an old generation?
  11. Is there a JVM memory optimization?
  12. What is the difference between a database index primary key and a unique index?
  13. The difference between clustered index and non-clustered index?
  14. The difference between MySQL storage engine innoDB and MyISAM?
  15. Tell me about the stable sorting algorithm and the unstable sorting algorithm?
  16. Tell me about the idea of ​​quick sort?

Meituan Dianping Advanced Java Second Side (Technology, on-site interview, about 60 minutes)

  1. What are the differences between several thread pools?
  2. Understanding of aio, nio and bio, what are the core concepts of NIO?
  3. What are the commonly used NIO frameworks, their advantages and disadvantages?
  4. The four isolation levels of transactions?
  5. Jvm scene problem, memory fragmentation occurs in the old generation after the mark is cleared many times, causing full gc. What problems might happen next?
  6. What is the difference between MySQL innodb b+ tree index, primary key index, and clustered index?
  7. Four characteristics of the database?
  8. What locks, row locks, table locks, and optimistic locks are there in MySQL?
  9. Here are two examples of how MySQL's deadlock occurs.
  10. What does the zookeeper in dubbo do?
  11. Table lock, row lock, optimistic lock, pessimistic lock, characteristics and differences?
  12. What are the concurrency toolkits and how to use them?
  13. How is Docker normally used?
  14. How does Kafka solve data accumulation?
  15. Kafka message storage mechanism?
  16. How to use Kafka to ensure the orderliness of messages?
  17. How does Kafka ensure that messages are only consumed once under concurrent conditions?

Meituan Dianping Advanced Java Three-sided Question (technical, on-site interview, about 60 minutes)

  1. Project Introduction.
  2. For the most technically difficult projects, introduce the relevant core design process.
  3. How does redis guarantee thread safety in distributed mode?
  4. The way and difference of redis persistence?
  5. How does zookeeper implement distributed locks and how to implement other distributed locks?
  6. How to use Kafka to ensure the orderliness of messages?
  7. What does database optimization include? MySQL optimization, talk about two examples of your optimization.
  8. Which version of redis is used?
  9. How to build a redis cluster?
  10. How does redis master-slave synchronization?
  11. Precautions for redis distributed locks?
  12. The way and difference of redis persistence?
  13. Redis persistence method and difference?
  14. What is the amount of data in my sql that needs to be divided into tables?
  15. What storage engines are commonly used in my sql and their differences?
  16. The role of zookeeper: distributed lock, registration service center?
  17. How does zookeeper implement distributed locks and how to implement other distributed locks?
  18. Solutions for distributed transactions?
  19. How to achieve single sign-on?
  20. How to realize the spike system?
  21. At work, if you encounter a technical bottleneck that cannot be solved, what is your solution?
  22. In terms of technology selection, how would you choose between a new technology and a stable old technology, and what factors would you consider?

Meituan Dianping Advanced Java Four-sided Questions (HR, on-site interview, about 30 minutes)

  1. Introduce yourself.
  2. Own strengths and weaknesses.
  3. Why do you want to come to Meituan and how much do you know about Meituan?
  4. Sort of Internet companies in mind.
  5. How do you deal with problems that cannot be solved temporarily at work?
  6. What new technology are you learning recently
  7. What path and method did you use to learn and contact a new technology?
  8. What is your future career plan?
  9. Communication position and salary: omitted here...

Summary of experience

I graduated in 2015 and worked in Shanghai. I have been engaged in Java research and development for more than four years. I changed jobs twice in the middle. The salary is still satisfactory, but the work content is repetitive wheel building, technology improvement is slow, and I feel I can’t learn anything. I have always dreamed that one day I can work in large Internet companies such as BAT, learn from Daniel, improve my technical capabilities, and gild my resume.

From the day when this idea came up, I began to pay close attention to the recruitment information of Java posts of major Internet companies, as well as the various technical dry goods, face-to-face questions, etc. shared by Youzhi Academy. Through combing and summarizing, checking for omissions and filling vacancies, according to myself The situation made a detailed study plan to make up for the short version of his technical knowledge.

 

This time I will share with you some of the questions I was asked when I participated in the Meituan Dianping interview. I hope it will be useful. All interview questions are not static. For big companies like Meituan, the actual interview questions above are just a reference for everyone. The most important thing is to increase your knowledge reserve and be prepared.

If you feel good, thank you for your support.

Finally, I will share with you: Java interview questions summary + various knowledge points learning mind map

å¤ © ç «æ ¸å¿ææ¯é¨ (4é ¢ é ¢ ç®ï¼ï¼spring + JVMè ° ä¼ + åå¸å¼ + è´è½½åè¡¡ç

å¤ © ç «æ ¸å¿ææ¯é¨ (4é ¢ é ¢ ç®ï¼ï¼spring + JVMè ° ä¼ + åå¸å¼ + è´è½½åè¡¡ç

å¤ © ç «æ ¸å¿ææ¯é¨ (4é ¢ é ¢ ç®ï¼ï¼spring + JVMè ° ä¼ + åå¸å¼ + è´è½½åè¡¡ç

I hope to help you review before the interview and find a good job, and save you time to search for information on the Internet to learn, remember to pay attention to me, there will be more dry goods to share in the future.

At last

Welcome everyone to communicate, if you like the article, remember to follow me and give me a like, thank you for your support

Guess you like

Origin blog.csdn.net/AMSRY/article/details/109310956