2020 BATJ must ask interview questions (revisited): JVM+microservices+multithreading+locking+high concurrency

19å¹´BATJ大åå¿é®é ¢ è¯é ¢ ï¼å¤çï¼ï¼JVM + å¾®æå¡ + å¤çº¿ç¨ + é + é «å¹¶å

1.Redis interview questions

1. What is Redis?.
2. Data types of Redis?
3. What are the benefits of using Redis?
4. What are the advantages of Redis over Memcached?
5. What are the differences between Memcache and Redis?
6. Is Redis single-process and single-threaded?
7. What is the maximum storage capacity of a string type value?
8. What is the persistence mechanism of Redis? Their advantages and disadvantages?
9. Redis common performance problems and solutions:
10. Redis expired key deletion strategy?
11. Redis recycling strategy (elimination strategy)?
12. Why does edis need to put all data in memory?
13. Do you understand the synchronization mechanism of Redis?
14. What are the benefits of Pipeline? Why use pipeline?
15. Have you used Redis cluster? What is the principle of cluster?
16. Under what circumstances will the Redis cluster solution cause the entire cluster to be unavailable?
17. What are the Java clients supported by Redis? Which one is the official recommendation?
18. What are the advantages and disadvantages of comparing Jedis and Redisson?
19. How to set password and verify password for Redis?
20. Tell me about the concept of Redis hash slots?

Interview Questions for BATJ Major Manufacturers in 19 (Replay): JVM+microservices+multithreading+locking+high concurrency

 

(The interview answer is attached at the end of the article)

Interview Questions for BATJ Major Manufacturers in 19 (Replay): JVM+microservices+multithreading+locking+high concurrency

 

2. Dubbo interview questions

1. What is Dubbo?
2. Why use Dubbo?
3. What is the difference between Dubbo and Spring Cloud?
4. What protocol does dubbo support, and which one is recommended?
5. Does Dubbo need a web container?
6. What kind of service containers are built in Dubbo?
7. What kind of node roles are there in Dubbo?
8. Draw a picture service registration and discovery flowchart
9. What registration center Dubbo uses by default, are there any other choices?
10. What are the configuration methods for Dubbo?
11. What are the core configurations of Dubbo?
12. What are the attributes of Consumer end that can be configured on Provider?
13. What happens if the dependent services are unavailable when Dubbo starts?
14. What serialization framework does Dubbo recommend, and what else do you know?
15. What communication framework does Dubbo use by default, are there other options?
16. What kind of cluster fault tolerance solutions does Dubbo have, and which is the default?
17. What kinds of load balancing strategies does Dubbo have, and which is the default?
18. If I have registered multiple same services, what if I test a specific service?
19. Does Dubbo support multi-protocol services?
20. What to do when there are multiple implementations of a service interface?

Interview Questions for BATJ Major Manufacturers in 19 (Replay): JVM+microservices+multithreading+locking+high concurrency

 

(The interview answer is attached at the end of the article)

Interview Questions for BATJ Major Manufacturers in 19 (Replay): JVM+microservices+multithreading+locking+high concurrency

 

3.Spring Boot interview questions

1. What is Spring Boot?
2. What are the advantages of Spring Boot?
3. What is JavaConfig?
4. How to reload the changes on Spring Boot without restarting the server?
5. What is the monitor in Spring Boot?
6. How to disable Actuator endpoint security in Spring Boot?
7. How to run Spring Boot applications on custom ports?
8. What is YAML?
9. How to realize the security of Spring Boot application?
10. How to integrate Spring Boot and ActiveMQ?
11. How to use Spring Boot to implement paging and sorting?
12. What is Swagger? Have you implemented it with Spring Boot?
13. What is Spring Profiles?
14. What is Spring Batch?
15. What is a FreeMarker template?
16. How to use Spring Boot to implement exception handling?
17. What starter maven dependencies did you use?
18. What is a CSRF attack?
19. What is WebSockets?
20. What is AOP?
21. What is Apache Kafka?
22. How do we monitor all Spring Boot microservices?

Interview Questions for BATJ Major Manufacturers in 19 (Replay): JVM+microservices+multithreading+locking+high concurrency

 

4.Spring Cloud interview questions

1. What is Spring Cloud?
2. What are the advantages of using Spring Cloud?
3. What does service registration and discovery mean? How to implement Spring Cloud?
4. What is the significance of load balancing?
5. What is Hystrix? How does it achieve fault tolerance?
6. What is a Hystrix circuit breaker? Do we need it?
7. What is Netflix Feign? What are its advantages?
8. What is Spring Cloud Bus? Do we need it?

Interview Questions for BATJ Major Manufacturers in 19 (Replay): JVM+microservices+multithreading+locking+high concurrency

 

5. JVM interview questions

1. Three major performance tuning parameters of JVM, several important parameters
of JVM 2. JVM tuning
3. JVM memory management, common garbage collector of JVM, G1 garbage collector. GC tuning, Minor GC, Full GC trigger condition
4. Java memory model
5. Java garbage collection mechanism
6. How does jvm judge whether an object is recyclable, and what kind of object can be used as the GC root
7. What about OOM? How to troubleshoot? What will cause OOM? When does OOM appear
8. What is Full GC? GC? major GC? stop the world
9. Describe a full gc process in JVM.
10. The class loading mechanism and class loading process in JVM, what is the parent delegation model? , What are the class loaders
11. How to judge whether there is a memory leak? What are the ways to locate the cause of Full GC?
12. What reference types are there in Java?

Interview Questions for BATJ Major Manufacturers in 19 (Replay): JVM+microservices+multithreading+locking+high concurrency

 

(The interview answer is attached at the end of the article)

Interview Questions for BATJ Major Manufacturers in 19 (Replay): JVM+microservices+multithreading+locking+high concurrency

 

6.Java concurrent programming

1. What is the difference between a daemon thread and a local thread in java?
2. The difference between thread and process?
3. What is context switching in multithreading?
4. The difference between deadlock and livelock, and the difference between deadlock and starvation?
5. What is the thread scheduling algorithm used in Java?
6. What is a thread group and why is it not recommended in Java?
7. Why use Executor framework?
8. What is the difference between Executor and Executors in Java?
9. How to find which thread uses the longest CPU time on Windows and Linux?
10. What is an atomic operation? What are the atomic classes in the Java Concurrency API?
11. What is the Lock interface in the Java Concurrency API? What are its advantages over synchronization?
12. What is the Executors framework?
13. What is a blocking queue? What is the realization principle of blocking queue? How to use blocking queues to implement the producer-consumer model?
14. What are Callable and Future?
15. What is FutureTask? Use ExecutorService to start tasks.
16. What is the realization of concurrent containers?
17. There are several ways to achieve multi-thread synchronization and mutual exclusion, and what are they?
18. What are competitive conditions? How do you discover and resolve competition?
19. How will you use thread dump? How will you analyze Thread dump? 165
20. Why do we execute the run() method when we call the start() method, and why can’t we call the run() method directly?

Interview Questions for BATJ Major Manufacturers in 19 (Replay): JVM+microservices+multithreading+locking+high concurrency

 

As a job seeker, the interview is a hurdle. Many people will be afraid of the interview. Even programmers who have been working for many years may still have interview anxiety.

In response to this year’s "Golden Three and Silver Four" interview season, today the editor will share a wave of benefits on the last day of the end of the 20th year. It contains a set of ABTJ Internet interview materials, as well as some technical materials on the mainstream Internet architecture, mainly Java distributed , High concurrency, source code analysis, spring, performance optimization and other technologies to explain the video, not much to say directly on the dry goods (the information will be updated continuously, subject to download)

A summary of the answers to the interview questions, friends in need, click here to get it for free!

 

Interview Questions for BATJ Major Manufacturers in 19 (Replay): JVM+microservices+multithreading+locking+high concurrency

 

Part of the interview video

Click here to get it for free!

 

 

 

Guess you like

Origin blog.csdn.net/m0_46995061/article/details/114283921