Alipay advanced research and development one, two and three topics: CMS+CAS+thread lock+transaction+avalanche+Docker

Alipay advanced research and development one, two and three topics: CMS+CAS+thread lock+transaction+avalanche+Docker

 

one side

  1. Under what circumstances will the old age in the JVM trigger GC?
  2. The garbage collection steps of CMS, the difference between G1 and CMS?
  3. Which phase of CMS is concurrent and which phase is serial?
  4. Talk about the Java thread pool, the meaning of several parameters in the thread pool
  5. Talk about the JDK source code of the JUC package you know (CAS, AQS, ConcurrentHashMap, ThreadLocal, CyclicBarrier, CountDownLatch, Atom, blocking queue, etc.)
  6. The methods and steps of JVM performance tuning, the key core parameter configuration of JVM
  7. What are the advantages and disadvantages of Java thread locks
  8. How does JDK1.8 implement the principle of HashMap?
  9. Draw a complete multi-threaded state diagram
  10. All know what sorting, Hill sorting, merge sorting, how to implement fast sorting, and complexity issues
  11. Talk about the red-black tree and the time complexity of inserting the red-black tree into a node
  12. How does MySQL avoid phantom reading problems under the RR isolation level
  13. The difference between mysql paradigm and anti-paradigm and their advantages and disadvantages

Two sides

  1. What are the mysql index categories and what is a covering index
  2. How to obtain slow SQL in mysql, and the solution of slow query
  3. How to configure mysql master-slave synchronization and how it works
  4. Optimistic and pessimistic locks, row locks and table locks, shared locks and exclusive locks (how does inndob manually add shared and exclusive locks)
  5. Deadlock determination principle and specific scenarios
  6. Talk about ACID of business
  7. Transaction recovery mechanism when the database crashes
  8. What are the ways to generate a distributed globally unique ID? And the comparison of the advantages and disadvantages between each?
  9. What kinds of distributed sessions are there? Which one is generally used and why?
  10. Talk about the understanding of Redis consistent Hash algorithm

Three sides

  1. What should the Redis cluster solution do? What are the options?
  2. How to realize session shared storage in a cluster?
  3. The difference between memcached and redis?
  4. Which Ali open source middleware have you used? Is there a performance comparison for related middleware?
  5. What causes the server avalanche scene? How to design a response
  6. Talk about the design principles and application scenarios of springboot, springcloud and dubbo
  7. The difference between Docker and JVM?
  8. What are the high-concurrency solutions, focusing on the priority steps of the solution?

The above are the Alipay advanced Java interview questions. The most comprehensive 2021 Alibaba Group Advanced Java compulsory exam questions and answers are summarized below , for reference only~


The most comprehensive Alibaba senior Java required test scope and answers

Alipay advanced research and development one, two and three topics: CMS+CAS+thread lock+transaction+avalanche+Docker

 

How to get answers

After following + forwarding, add the assistant WeChat: Mxy98811 (just scan the code to add)

 

 

 

 

Guess you like

Origin blog.csdn.net/JavaJIAMIN/article/details/115207214