Interviewed with seven major manufacturers, Java Gang was sunk, and finally the interviewer gave me some suggestions (attached: Java Gang experience sharing)

The annual vacation should be what we are looking forward to for programmers, but last year's annual vacation made me panic. It felt like I was back to the summer vacation when I was in school. It took more than two months to release it. After such a long time of being closed, I gained nearly ten kilograms of fat from being skinny like a monkey. This is quite happy. But what makes me painful is that I suddenly lost my job. There are only a few reasons. I think everyone should be able to guess the specific reasons. Time flies and life continues. Last month, I had been interviewing non-stop, but in the end I just went home and waited for notice.

When I was disappointed and confused, I accidentally received a call from Meituan’s personnel, asking me to bring all the materials to the personnel report on Monday. What I didn’t expect was that he sent me some unorganized books and materials by the way. The content is very comprehensive. And I went to the company as scheduled and started working. It took me two weeks to sort out the content recommended by the kind interviewer. Good things must be shared. The general content includes: ZooKeeper MyBatis Dubbo Redis MySQL Spring Spring Boot kafka java concurrent programming microservice tomcat performance optimization and open source framework, etc.

Reminder: Although the data is not easy to organize, but good things cannot be privately stored. You must learn to share and let friends in need improve together. Obtaining methods: After three consecutive days, you can get it for free by private message [document] or check below

MyBatis aspect

  • What is Mybatis?
  • Advantages of Mybaits:
  • Disadvantages of MyBatis framework:
  • Applicable occasions of Mybaits frame:
  • What is the difference between MyBatis and Hibernate?
  • What is the difference between #{} and ${}?
  • What should I do when the attribute name in the entity class is different from the field name in the table?
  • How to write like statement in fuzzy query?
  • How does Mybatis pagination? What is the principle of the paging plugin?
  • ......

After 7 interviews, the interviewer gave me suggestions (attached: java post experience sharing)

More questions about Mybatis screenshots

ZooKeeper aspect

  • What does ZooKeeper provide?
  • ZooKeeper file system
  • ZAB agreement?
  • Four types of data nodes Znode
  • Zookeeper Watcher mechanism-data change notification
  • Client registration Watcher implementation
  • Server-side processing Watcher implementation
  • ......

After 7 interviews, the interviewer gave me suggestions (attached: java post experience sharing)

Screenshots of more questions about ZooKeeper

Dubbo aspect

  • Why use Dubbo?
  • What are the layers of Dubbo's overall architecture design?
  • 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 is the principle that the service provider can achieve the failure kick-out?
  • Why doesn't the service launch affect the old version?
  • What protocol does Dubbo recommend?
  • ......

After 7 interviews, the interviewer gave me suggestions (attached: java post experience sharing)

More questions about Dubbo screenshots

Elasticsearch side

  • What is the inverted index of elasticsearch
  • What to do if there is too much data in elasticsearch index, how to tune and deploy
  • How elasticsearch implements master election
  • Describe in detail the process of Elasticsearch indexing documents
  • Describe the process of Elasticsearch search in detail?
  • When Elasticsearch is deployed, what are the optimization methods for Linux settings
  • What is the internal structure of lucence?
  • How does Elasticsearch implement Master election?
  • Describe in detail the process of Elasticsearch updating and deleting documents.
  • Describe in detail the process of Elasticsearch search.
  • In Elasticsearch, how to find the corresponding inverted row based on a word
  • Is it pulling?
  • When Elasticsearch is deployed, what are the optimization methods for Linux settings
  • law?
  • ......

After 7 interviews, the interviewer gave me suggestions (attached: java post experience sharing)

Screenshots of more questions about elasticsearch

Redis aspect

  • What is Redis?
  • Redis data type?
  • What are the benefits of using Redis?
  • What are the advantages of Redis over Memcached?
  • What are the differences between Memcache and Redis?
  • Is Redis single-process single-threaded?
  • What is the maximum capacity that a string value can store?
  • What is the persistence mechanism of Redis? Their advantages and disadvantages?
  • Common Redis performance problems and solutions?
  • Redis expired key deletion strategy?
  • Redis recycling strategy (elimination strategy)?
  • Why does edis need to put all the data in memory?
  • Do you understand the synchronization mechanism of Redis?
  • What are the benefits of pipeline, why use pipeline?
  • Have you ever used Redis cluster? What is the principle of cluster?
  • ......

After 7 interviews, the interviewer gave me suggestions (attached: java post experience sharing)

Screenshot of more questions about Redis

MySQL side

  • What kind of locks are there in MySQL?
  • What are the different tables in MySQL?
  • Briefly describe the difference between MyISAM and InnoDB in the MySQL database
  • The names of the four transaction isolation levels supported by InnoDB in MySQL, and
  • The difference between the levels?
  • What is myisamchk used for?
  • If a table has a column defined as TIMESTAMP, what will happen?
  • How do you see all the indexes defined for the table?
  • What do% and _ in the LIKE statement mean?
  • What is the column comparison operator?
  • What is the difference between BLOB and TEXT?
  • The difference between MySQL_fetch_array and MySQL_fetch_object is
  • what?
  • Where will the MyISAM table be stored and also provide its storage format?
  • How does MySQL optimize DISTINCT?
  • ......

After 7 interviews, the interviewer gave me suggestions (attached: java post experience sharing)

Screenshots of more questions about MySQ

Java concurrent programming articles

  • What is the difference between daemon thread and local thread in java?
  • The difference between thread and process?
  • What is context switching in multithreading?
  • The difference between deadlock and livelock, the difference between deadlock and starvation?
  • What is the thread scheduling algorithm used in Java?
  • What is a thread group, and why is it not recommended in Java?
  • Why use the Executor framework?
  • What is the difference between Executor and Executors in Java?
  • How to find the CPU used by which thread on Windows and Linux
  • The longest time?
  • What is an atomic operation? What are the principles in the Java Concurrency API
  • Subclass (atomic classes)?
  • Lock interface in Java Concurrency API
  • What is it? What are its advantages over synchronization?
  • What is the Executors framework?
  • What is a blocking queue? What is the realization principle of blocking queue? how to use
  • Blocking the queue to implement the producer-consumer model?
  • ......

After 7 interviews, the interviewer gave me suggestions (attached: java post experience sharing)

 

Spring

  • What is Spring Framework?
  • List the advantages of Spring Framework.
  • What are the different functions of Spring Framework?
  • How many modules are there in Spring Framework and what are they?
  • What is a Spring configuration file?
  • What are the different components of a Spring application?
  • What are the ways to use Spring?
  • What is the Spring IOC container?
  • What is dependency injection?
  • How many ways can dependency injection be accomplished?
  • What is a spring bean?
  • What configuration methods does spring provide?
  • Does spring support centralized bean scope?
  • ......

After 7 interviews, the interviewer gave me suggestions (attached: java post experience sharing)

Screenshot of more questions about Spring

Microservices

  • What do you know about microservices?
  • What are the advantages of microservice architecture?
  • What are the characteristics of microservices?
  • What are the best practices for designing microservices?
  • How does the microservice architecture work?
  • What are the advantages and disadvantages of the microservice architecture?
  • Monolithic, what is the difference between SOA and microservice architecture?
  • What challenges do you face when using microservice architecture?
  • What are the main differences between SOA and microservice architecture?
  • What is cohesion?
  • What is coupling?
  • What is REST / RESTful and what is its purpose?
  • ......

After 7 interviews, the interviewer gave me suggestions (attached: java post experience sharing)

Screenshot of more questions about microservices

kafka

  • How to get a list of topics
  • What are the command lines for producers and consumers?
  • Is the consumer pushing or pulling?
  • Talk about Kafka's method of maintaining consumption status tracking
  • Why do I need a message system, can mysql not meet the demand?
  • What is the role of Zookeeper for Kafka?
  • What are the two conditions for Kafka to judge whether a node is still alive?
  • There are three key differences between Kafka and traditional MQ messaging systems
  • Talk about the three mechanisms of Kafka's ack
  • Consumer failure, how to solve the livelock problem
  • ......

After 7 interviews, the interviewer gave me suggestions (attached: java post experience sharing)

Screenshot of more questions about kafka

Spring Boot 篇

  • What is Spring Boot?
  • What are the advantages of Spring Boot?
  • What is JavaConfig?
  • How to reload changes on Spring Boot without restarting the service
  • Device?
  • How to realize the security of Spring Boot application?
  • How to disable Actuator endpoint security in Spring Boot?
  • What is Swagger? Have you implemented it with Spring Boot?
  • What is Spring Profiles?
  • What is Spring Batch?
  • What is a FreeMarker template?
  • Which starter maven dependencies did you use?
  • ......

After 7 interviews, the interviewer gave me suggestions (attached: java post experience sharing)

Screenshots of more questions about Spring Boot

Due to space reasons, more aspects of the problem are not listed one by one. The following screenshots show. It is not easy to organize, if you need to get the information, you can get it for free after the three-link private message [document] or scan the following .

After 7 interviews, the interviewer gave me suggestions (attached: java post experience sharing)

 

More benefits:

After 7 interviews, the interviewer gave me suggestions (attached: java post experience sharing)

 

Guess you like

Origin blog.csdn.net/java_xiaoo/article/details/109402281