021 preparation spring recruit: Java interview must see 999 interview analysis, help you pass the big factory interview. Preface: This article collects and collates the various factories often meet the test N, you want to have content here covers: Java, MyBatis, ZooKeeper, Dubbo, Elasticsearch, Memcached, Redis, MySQL, Spring, Spring Boot, Spring Cloud, RabbitMQ, Kafka, Linux Technology stack.

Due to the large number of questions, the space is limited, the interview questions in the article to share not all attached detailed analysis, but sorted into a detailed PDF document to share with you, need friends can: pay attention to the end of the public account to obtain

Look at the interview questions can be for the interview, can also be a kind of check what you have learned, more profound to understand some core knowledge points

MyBatis interview questions

1. What is Mybatis?

2. Advantages of Mybaits:

3. Disadvantages of MyBatis framework:

4, MyBatis framework applicable occasions:

5. What are the differences between MyBatis and Hibernate?

What is the difference between #{} and ${}?

7, What if the name of the attribute in the entity class is different from the name of the field in the table?

8, fuzzy query like statement how to write?

They are the interview questions

The difference between ZooKeeper and NGINx load balancing ZooKeeper Watcher mechanism – Data change notification client register Watcher implementation How Does ZooKeeper ensure transaction sequence consistency? Is Zookeeper’s watch listening notification on a node permanent? Why not permanent? What can I do if the ZK node is down?

Dubbo interview questions

Why Dubbo?

What communication framework is used by default, and what other options are there?

Is the service invocation blocking?

What registry is commonly used? Is there any other option?

What serialization framework is used by default, and what else do you know?

What are the layers of Dubbo’s overall architectural design?

Elasticsearch interview questions

How many shards are there, how many are there, and how many tuning methods are there? Select * from elasticSearch; select * from elasticSearch; Describe how Elasticsearch updates and deletes files for Linux. What are the optimizations for Linux Settings when Elasticsearch is deployed?

Redis interview questions

What are the benefits of using Redis?

Is Redis single process single thread?

What is the persistence mechanism of Redis? What are their strengths and weaknesses?

Redis common exception Problems and solutions (Avalanche, penetrating…)

Redis expiration key deletion policy?

Why does Redis need to put all data in memory?

What is the master-slave replication model for Redis clusters?

How to set the expiration time and permanent validity of Redis key respectively?

MySQL interview questions

MySQL related storage engine. MySQL index implementation principle. MySQL database lock. MySQL SQL tuning Global ID of MySQL sub-table sub-library.

Java concurrent programming

Is there a difference between daemon threads and local threads in Java? What is context switching in multithreading? What is the thread scheduling algorithm used in Java? What is a thread group and why is it not recommended in Java? The difference between Executor and Executors in Java? Three elements of concurrent programming? What is a thread pool? What are the ways to create it?

Spring interview questions

  1. What is your understanding of Spring IoC?
  2. What is your understanding of Spring DI?
  3. What is the difference between the BeanFactory interface and the ApplicationContext interface?
  4. Introduce the Spring core classes you are familiar with and explain what they do?
  5. Introduce the understanding of Spring transactions?
  6. What about Spring’s transaction implementation? 7. What is Spring’s dependency injection?

Kafka interview questions

There are three key differences between Kafka and traditional MQ messaging systems

Talk about the three mechanisms for Kafka ack

How to solve the problem of consumer failure and live lock?

How can messages be consumed sequentially in a distributed (not stand-alone) Kafka scenario

How does Kafka not consume duplicate data? For example, deduction, we can’t double deduction.

How to obtain: follow the public account below to obtain