1. Redis interview questions

1. What is Redis? 2. Data type of Redis? 3. What are the benefits of using Redis? 4. What advantages does Redis have over Memcached? 5. What are the differences between Memcache and Redis? Redis is single-process single-thread? 7. What is the maximum capacity of a string value? 8. What is the persistence mechanism of Redis? What are their strengths and weaknesses? Redis expiration key deletion policy? 11. Redis recycling strategy (elimination strategy)? 12. Why does EDis need to put all data in memory? 13. Do you know the synchronization mechanism of Redis? 14. What are the benefits of Pipeline? Why do we use Pipeline? 15. Have you used Redis cluster? What is the principle of cluster? 16. When will Redis cluster solution make the whole cluster unusable? 17, What are the Java clients supported by Redis? Which is the official recommendation? 18. What are the advantages and disadvantages of Jedis versus Redisson? 19. How to set and verify the password in Redis? 20, What about the Redis hash slot?

(Interview answers attached at the end)

2. Dubbo interview questions

1. What is Dubbo? 2. Why Dubbo? What’s the difference between Dubbo and Spring Cloud? 4. What protocols are supported by Dubbo and which are recommended? Does Dubbo need a Web container? 6. What service containers are built into Dubbo? What types of node roles are there in Dubbo? 9. What registry does Dubbo use by default? Any other options? What are the configuration methods of Dubbo? 11. What are the configurations of the Dubbo core? 12. What are the Consumer properties that can be configured on the Provider? 13. What happens if the dependent service is 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? Any other options? 16. What cluster fault tolerance schemes does Dubbo have? Which is the default? 17. What load balancing strategies does Dubbo have and what is the default? 18, Registered multiple services of the same type, what if you test a specified service? 19. Does Dubbo support multi-protocol services? 20. What to do when a service interface has multiple implementations?

(Interview answers attached at the end)

3.Spring Boot Interview questions

1. What is Spring Boot? 2. What are the advantages of Spring Boot? 3. What is JavaConfig? 4. How do I reload changes on Spring Boot without restarting the server? 5. What is the monitor in Spring Boot? 6. How to disable THE security of endpoints in Spring Boot? 7. How to run a Spring Boot application on a custom port? 8. What is YAML? How to implement Spring Boot application security? 10. How to integrate Spring Boot and ActiveMQ? How to use Spring Boot to implement paging and sorting? 12, What is Swagger? Did you implement it with Spring Boot? 13. What are Spring Profiles? 14. What is Spring Batch? 15. What is a FreeMarker template? 16. How to use Spring Boot to implement exception handling? 17. Which Starter Maven dependencies do you use? What is a CSRF attack? What are WebSockets? What is AOP? What is Apache Kafka? 22. How do we monitor all Spring Boot microservices?

4.Spring Cloud

1. What is Spring Cloud? 2. What are the advantages of using Spring Cloud? 3. What does service registration and discovery mean? How is Spring Cloud implemented? 4. What is the significance of load balancing? 5. What is Hystrix? How does it achieve fault tolerance? 6. What is 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?

5. The JVM interview questions

3, JVM memory management, JVM common garbage collector, G1 garbage collector How can a JVM determine whether an object can be collected and which objects can be treated as GC root? How to check? What causes OOM? 8. What is Full GC? GC? major GC? 9. Describe a full GC process in the JVM. Class loading mechanism in JVM, class loading process, what is parent delegate model? What are the class loaders? What are some ways to locate the cause of Full GC? 12. What reference types are available in Java?

(Interview answers attached at the end)

6.Java concurrent programming

1. What is the difference between daemon threads and local threads in Java? What is the difference between a thread and a process? 3. What is context switching in multithreading? 4. The difference between deadlock and live lock, deadlock and starvation? 5. What is the thread scheduling algorithm used in Java? 6. What are thread groups and why are they not recommended in Java? 7. Why use Executor Framework? The difference between Exector and Executors in Java? How to find which thread is using the most CPU time on Windows and Linux? 10. What is atomic operation? What atomic classes are available in the Java Concurrency API? What is the Java Concurrency API’s Lock interface? What are the advantages over synchronization? 12. What is Executors Framework? What is a blocking queue? What is the implementation principle of blocking queues? How to implement the producer-consumer model using blocking queues? 14. What are Callable and Future? 15. What is FutureTask? Start tasks using the ExecutorService. What is the implementation of concurrent containers? 17, There are several ways to implement multithreaded synchronization and mutex. What are they? What are the conditions of competition? How do you find and solve competition? How will you use Thread dump? How would you analyze Thread dump? 20. Why do we call run() when we call start()? Why can’t we call run() directly?

I believe there will still be a wave of quits and job searches in March and April. As a job seeker, the interview is a hurdle, many people will be afraid of the interview, even for programmers who have worked for many years, there may still be interview anxiety.

For “four” yue interview job-hopping season next year, small make up today is the last day of 19 years at the end of sharing a wave of welfare, containing a set of ABTJ Internet interview data, there are some information about Internet mainstream architecture technology, mainly distributed, high concurrency, Java source code analysis, the interpretation of the spring, the performance optimization techniques such as video, No more words directly on the dry goods (information will be updated, subject to download) at the end of the free ~

Summary of answers to interview questions

Please forward it and add assistant VX: Yunduoa2019 after following it or scan the qr code below and follow the guidance of the assistant to obtain it by yourself

Part of interview video

Please forward it and add assistant VX: Yunduoa2019 after following it or scan the qr code below and follow the guidance of the assistant to obtain it by yourself