The phone side

1. Self-introduction, projects and technical fields

2. Monitoring in the project: which monitoring indicators are common?

3. What are the technologies involved in microservices and the problems that need attention?

4. What do you know about the registry?

5. Do you know the reliability of Consul?

6. Have you gone into details about consul’s mechanism? Has it been compared with other registries?

7. The project uses Spring a lot. Do you know the principle of Spring? Principles of AOP and IOC

8. Besides automatic configuration, what other differences do Spring Boot have compared to traditional Spring?

9. What do you know about Spring Cloud?

Life cycle of Spring Beans

11. What is the difference between HashMap and hashTable?

Object hashCode () {equals ();

13. The occurrence of unsafe Hashmap threads

14, Online service CPU is very high, what should I do? What steps can be taken to find the problem

15. Which thread pools are in the JDK? Thread pools, by the way

What are the common methods of SQL optimization

17, SQL index order, field order

SQL > select * from SQL where index is used. (What tools do you have?)

19, the difference between TCP and UDP? TCP data transmission process how to achieve reliable?

Say you know the sorting algorithm

Find the median of an array.

Do you have any questions you want to ask me?

By the way, I recommend a Java architecture exchange learning group: 698581634, you can enter the group to obtain the Java architect information: Spring, MyBatis, Netty source code analysis, interview data, high concurrency, high performance, distributed, micro service architecture principle, JVM performance optimization these become architects necessary knowledge system, there must be information you need in the group, quickly add group.

Second interview (85 minutes)

1. Self-introduction, work experience and technology stack

2. What skills did you learn in the project? (Describe the three items in detail for a long time)

3. Granularity of microservice partitioning

4. How to guarantee the high availability of microservices?

5, common load balancing, how to use, can you say?

6. What benefits can gateways bring to back-end services?

7. Spring Bean lifecycle

How can the init/destroy methods configured in XML call specific methods?

9. The mechanism of reflection

A method in the Object class

Where hashCode and equals methods are commonly used

12. Whether the object comparison is the same

13, How to check whether the hashmap put method is duplicate

14. Why override the Object toString method when it is commonly used

15, What is the difference between Set and List?

16, ArrayList and LinkedList

17. Which takes up more space if you access the same data, ArrayList or LinkedList?

Is the Set stored in an orderly order?

19. What are the common implementations of Set?

20. What data requirements does TreeSet have for storage?

21. The underlying implementation of HashSet

Have you seen the underlying source code of TreeSet?

Is HashSet thread safe? Why not thread-safe?

24. What are thread-safe Maps in Java?

25. How is Concurrenthashmap thread safe?

26. Have you heard about HashTable?

27. How to ensure thread safety?

28, synchronized

29. Atomicity of volatile? Why does i++ not support atomicity? From the design of computer principles, the reason why atomicity cannot be guaranteed

Happens before principle

31. Cas operation

32, The difference between lock and synchronized?

Fair lock and unfair lock

Java read/write lock

35. What are the main problems solved by read-write lock design?

36. In addition to writing Java code, your project also has front-end code. Do you know what front-end frameworks there are?

MySQL > select * from pagesql

MySQL transaction features and isolation levels

In what scenario does unrepeatable read occur?

Use scenario of SQL HAVING

What is the whole process of an HTTP request to the back end of a front-end browser address? Can you tell me?

42. Default HTTP port and default HTTPS port

DNS do you know what it is?

44, What is the IDE you are developing? Can you tell me some common shortcut keys of IDEA?

45. What do you use for code versioning?

Git rebase is merged with git rebase.

Do you work much overtime in your company

Behind chat high, between the pull some eggs, ha ha ha.

Finally successful entry, happy!!