preface

Recently many small friends private letter I said that gold nine silver ten coming soon, I have the idea of job-hopping impact of a wave of big factories, but their review always can not find the focus. It’s easy to lose an interview if the interviewer asks you that question after reviewing this one. After I saw the news, I sorted out the following documents from the questions frequently asked in the interviews I have met in these years and the questions feedback from my fans when they went to big factories for interviews this year!

Data structures and Algorithms, JVM memory structures, garbage collectors, collection algorithms, GC, concurrent programming related (multithreading, thread pooling, etc.), NIO/BIO, Performance optimization, Design patterns, Spring Framework: Distributed related: Redis cache, consistent Hash algorithm, distributed storage, load balancing, microservices, Docker container, etc. Want to get this document partners pay attention to my public number in the future light can be obtained

The following is part of the document

Spring series of Java interview questions

  • Why use Spring?
  • Explain what AOP is?
  • Explain what ioc is?
  • What are the main modules of Spring?
  • What are the common injection methods in Spring?
  • Are beans in Spring thread-safe?
  • How many scopes does Spring support for beans?
  • What are the ways in which Spring automatically assembles beans?
  • What are the ways spring transactions are implemented?
  • What about Transaction isolation in Spring?
  • What about the Spring MVC workflow?
  • What are the components of Spring MVC?
  • What does @requestMapping do?
  • What does @autowired do?
  • What is Spring Boot?
  • Why spring Boot?
  • What is the Spring Boot core configuration file?
  • What are the types of Spring Boot configuration files? What’s the difference?
  • How can Spring Boot implement hot deployment?
  • What is the difference between JPA and Hibernate?
  • What is Spring Cloud?
  • What does the Spring Cloud circuit breaker do?
  • What are the core components of Spring Cloud?

Java interview questions Redis series

  • What is redis? What are the usage scenarios?
  • What does Redis do?
  • What’s the difference between Redis and memecache?
  • Why is Redis single threaded?
  • What is cache penetration? How to solve it?
  • What data types are supported by Redis?
  • What Java clients are supported by Redis?
  • What are the differences between Jedis and Redisson?
  • How to ensure that the cache and database data consistency?
  • How many ways can REDis persist?
  • How does Redis implement distributed locks?
  • What are the drawbacks of redis distributed locks?
  • How does Redis optimize memory?
  • What are the Redis elimination strategies?
  • What are the common performance issues with Redis? How to solve it?

Java interview questions JVM series

  • What are the main components of the JVM? And its role?
  • What about the JVM runtime data area?
  • What’s the difference between a stack?
  • What are queues and stacks? What’s the difference?
  • What is the parental delegation model?
  • What about the execution of class loading?
  • How do I determine whether an object can be reclaimed?
  • What reference types are available in Java?
  • What garbage collection algorithms does the JVM have?
  • What garbage collectors does the JVM have?
  • What about the CMS garbage collector?
  • What are the new generation garbage collector and old generation garbage collector? What’s the difference?
  • Describe how generational garbage collector works.
  • What about JVM tuning tools?
  • What are the common JVM tuning parameters?

Mysql series

  • What are the three paradigms of databases?
  • Mysql > alter table alter table alter table alter table alter table alter table alter table alter table alter table alter table
  • How do I get the current database version?
  • What is ACID?
  • What is the difference between char and varchar?
  • What’s the difference between float and double?
  • What is the difference between inner join, left join and right join in mysql?
  • How is the mysql index implemented?
  • How to verify that the mysql index meets the requirements?
  • What about transaction isolation of the database?
  • What are the common engines for mysql?
  • Mysql row locks and table locks
  • What about optimistic locks and pessimistic locks?
  • What are the methods for troubleshooting mysql problems?
  • How to optimize mysql performance?

## 5, Zookeeper and Kafka series

  • What is Zookeeper?
  • What are the functions of ZooKeeper?
  • How many deployment modes are available for ZooKeeper?
  • How does ZooKeeper synchronize the status of the primary and secondary nodes?
  • Why do you have a primary node in a cluster?
  • There are three servers in the cluster and one node is down. Can ZooKeeper still be used?
  • What is the notification mechanism of ZooKeeper?
  • Can Kafka be used independently of ZooKeeper? Why is that?
  • How many data retention strategies does Kafka have?
  • Kafka sets 7 days and 10 gigabytes of clean data at the same time, and on day five it reaches 10 gigabytes. What does Kafka do with that?
  • What can cause Kafka to run slowly?
  • What do YOU need to know about using kafka clusters?

6. RabbitMQ

  • What are the usage scenarios for RabbitMQ?
  • What are the important roles of RabbitMQ?
  • What are the important components of RabbitMQ?
  • What does vhost do in RabbitMQ?
  • How are rabbitMQ messages sent?
  • How does RabbitMQ ensure message stability?
  • How can RabbitMQ avoid message loss?
  • What are the conditions for message persistence to succeed?
  • What are the disadvantages of RabbitMQ persistence?
  • How many broadcast types are available for RabbitMQ?
  • How does RabbitMQ implement delayed message queuing?
  • What are rabbitMQ clusters for?
  • What are the types of RabbitMQ nodes?
  • What should I pay attention to when setting up rabbitMQ clusters?
  • Is each rabbitMQ node a full copy of the other nodes? Why is that?
  • What happens when the only disk node in the RabbitMQ cluster crashes?
  • Does RabbitMQ have a stop order for cluster nodes?

The last

All the learning materials and interview materials in the above content can be provided free of charge. I hope you can have a smooth interview and win your favorite offer! Pay attention to my public number future light can be all access! The last point I want to emphasize for the interview is that your attitude is really important, which is the key to determine your performance in the interview process. If you can’t play well, you may lose the offer due to a small mistake, so you must pay attention to it. Another point to remind, full review, is the key to eliminate your nervous state of mind, but you review enough, the natural interview process will be much more confident.