Preparatory Spring Recruitment for 2021: 999 interview analysis must-see in Java interviews to help you get a satisfactory offer through interviews with major factories

Preparatory Spring Recruitment for 2021: 999 interview analysis must-see in Java interviews, to help you pass the interview with major factories .
Foreword:
This article collects and organizes N common interview questions from major factories. Here are the content you want to cover: Java, MyBatis , ZooKeeper, Dubbo, Elasticsearch, Memcached, Redis, MySQL, Spring, Spring Boot, Spring Cloud, RabbitMQ, Kafka, Linux and other technology stacks.

Due to the large number of questions and space limitations, all the interview questions in the article are not accompanied by detailed analysis, but they have been compiled into a detailed PDF file to share with everyone. Friends in need can: Click here to get it! ! ! Password: CSDNInsert picture description here

Looking at the interview questions can be for the interview, or it can be a way to check and fill in the vacancies of what you have learned, to gain a deeper understanding of some core knowledge points

MyBatis interview questions

1. What is Mybatis?
2. Advantages of Mybaits:
3. Disadvantages of the MyBatis framework:
4. Applications of the MyBatis framework:
5. What is the difference between MyBatis and Hibernate?
6. What is the difference between #{} and ${}?
7. What should I do when the attribute name in the entity class is different from the field name in the table?
8. How to write like statement in fuzzy query?
Insert picture description here

ZooKeeper interview questions


Zookeeper load balancing and nginx load balancing are different. Zookeeper Watcher mechanism-data change notification. How does the
client register Watcher to implement
zookeeper to ensure the sequence consistency of transactions?
Is Zookeeper's watch monitoring notification to the node permanent? Why is it not permanent?
How to deal with zk node downtime?

Dubbo interview questions

Why use Dubbo?
What communication framework is used by default, are there other options? Is the
service call blocking?
What registry is generally used? Are there other options?
What serialization framework is used by default, and what else do you know?
What are the layers of Dubbo's overall architecture design?
Insert picture description here

Elasticsearch interview questions

How much does elasticsearch know, talk about your company's es cluster architecture, index data size, number of shards, and some tuning methods.
What to do if there is too much data in elasticsearch index, how to tune it, how to deploy
elasticsearch to achieve master election When
Elasticsearch is deployed, what are the optimization methods for Linux settings?
Describe in detail the process of Elasticsearch updating and deleting documents.
When Elasticsearch is deployed, what are the optimization methods for Linux settings?

Redis interview questions

What are the benefits of using Redis?
Is Redis single-process single-threaded?
What is the persistence mechanism of Redis? Their advantages and disadvantages?
Common Redis exception problems and solutions (avalanche, penetration...) How
to delete redis expired keys?
Why does redis need to put all data in memory?
What is the master-slave replication model of Redis cluster?
How to set the expiration time and permanent validity of Redis key?
Insert picture description here

MySQL interview questions

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

Java concurrent programming

What is the difference between daemon thread and local thread 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?
What is 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. Talk about the understanding of Spring IoC?
  2. Talk about your understanding of Spring DI?
  3. What is the difference between the BeanFactory interface and the ApplicationContext interface?
  4. Please introduce the Spring core classes you are familiar with, and explain what they do?
  5. Introduce your understanding of Spring's affairs?
  6. Introduce Spring's transaction implementation method?
    7. What is Spring's dependency injection?

Kafka interview questions

There are three key differences between Kafka and the traditional MQ messaging system.
Let
me talk about the three mechanisms of Kafka 's ack. How to solve the problem of consumer failure and livelock ?
In the case of Kafka distributed (not stand-alone), how to ensure the sequential consumption of messages.
How does Kafka not consume duplicate data? For example, deductions, we can't repeat deductions.
Insert picture description here

Guess you like

Origin blog.csdn.net/a3961401/article/details/109061097