About the interview

First of all, under the statement, the following knowledge points are not all from BAT interview questions.

If you think the content summarized by the author in this article can be helpful to you, you can like and follow.

This article will focus on eliciting questions. If there is time later, the author will draw some important knowledge points for detailed analysis and answers.

Basics

basic skills

1. Object-oriented features

2. The difference between final, finally, finalize

3. What is the difference between int and Integer

4. The difference between overloading and rewriting

5. What is the difference between abstract class and interface

6. Talk about the use and implementation of reflection

7. Talk about the scene and implementation of custom annotations

8. The difference between the GET and POST methods of HTTP requests

9. The difference between session and cookie

10. Session distributed processing

11. JDBC process

12. MVC Design Ideas

13. The difference between equals and ==

gather

1. The difference between List and Set

2. The difference between List and Map

3. The difference between Arraylist and LinkedList

4. The difference between ArrayList and Vector

5. The difference between HashMap and Hashtable

6. The difference between HashSet and HashMap

7. The difference between HashMap and ConcurrentHashMap

8. The working principle and code implementation of HashMap

9. The working principle and code implementation of ConcurrentHashMap

thread

1. How to create a thread and its implementation

2. What is the difference between sleep(), join(), and yield()

3. Talk about the principle of CountDownLatch

4. Talk about the principle of CyclicBarrier

5. Talk about the Semaphore principle

6. Talk about the principle of Exchanger

7. Talk about the difference between CountDownLatch and CyclicBarrier

8. ThreadLocal principle analysis

9. Talk about the implementation principle of thread pool

10. Several ways of thread pool

11. Thread life cycle

12. Add group: 650385180 to get the answers to the above interview questions

lock mechanism

1. Talk about thread safety issues

2. The principle of volatile implementation

3. The principle of synchronize

4. The difference between synchronized and lock

5. CAS optimistic locking

6. ABA problem

7. Business scenarios and implementation methods of optimistic locking

Core articles

data storage

1. Notes on the use of MySQL indexes

2. Talk about anti-pattern design

3. Talk about the design of sub-libraries and sub-tables

4. Distributed dilemma and countermeasures brought by sub-database and sub-table

5. Talk about SQL optimization

6. Deadlock problems encountered by MySQL

7. InnoDB and MyISAM storage engine

8. The principle of database indexing

9. Why use B-tree?

10. The difference between a clustered index and a non-clustered index

11. How to solve the slow loading of limit 20000

12. Choose an appropriate distributed primary key scheme

13. Choose the right data storage solution

14. ObjectId rules

15. Talk about MongoDB usage scenarios

16. Inverted index

17. Talk about the usage scenarios of ElasticSearch

cache usage

1. What are the types of Redis

2. Redis internal structure

3. Talk about Redis usage scenarios

4. Redis persistence mechanism

5. How Redis achieves persistence

6. Redis cluster scheme and implementation

7. Why is Redis single-threaded?

8. Cache crash

9. Cache Degradation

10. The rationality of using cache

message queue

1. Usage scenarios of message queues

2. Message retransmission compensation solution

3. The idea of ​​idempotency of messages

4. Message accumulation solution ideas

5. How to implement message queue yourself

6. How to ensure the ordering of messages

Framework articles

Spring

1. What is the difference between BeanFactory and ApplicationContext

2. Life cycle of Spring Bean

3. How Spring IOC is implemented

4. Talk about Spring AOP

5. Spring AOP implementation principle

6. Dynamic proxy (cglib and JDK)

7. Spring transaction implementation

8. The underlying principle of Spring transactions

9. How to customize the annotation implementation function

10. Spring MVC running process

11. Spring MVC startup process

12. Spring's singleton implementation principle

13. What design patterns are used in the Spring framework

14. Other Spring products (Srping Boot, Spring Cloud, Spring Security, Spring Data, Spring AMQP, etc.)

15. Add group: 650385180 to get the answers to the above interview questions

Netty

1. Why choose Netty

2. Talk about the usage scenarios of Netty in business

3. The native NIO has an epoll bug in the JDK 1.7 version

4. What is TCP sticking/unpacking

5. Solutions for TCP sticking/unpacking

6. Netty threading model

7. Talk about Netty's zero copy

8. Netty internal execution process

9. Netty reconnection implementation

Microservices

Microservices

1. How to separate the front and back ends

2. Which frameworks are microservices

3. How do you understand the RPC framework

4. Talk about the implementation principle of RPC

5. Talk about the implementation principle of Dubbo

6. How do you understand RESTful?

7. Talk about how to design a good API

8. How to understand the idempotency of RESTful API

9. How to ensure the idempotency of the interface

10. Talk about CAP theorem and BASE theory

11. How to consider data consistency issues

12. Talk about the implementation of eventual consistency

13. What do you think about microservices?

14. The difference between microservices and SOA

15. How to split services

16. How microservices perform database management

17. How to deal with chain call exceptions of microservices

18. For fast tracking and positioning problems

19. Microservice security

distributed

1. Talk about the use of distributed scenarios in business

2. Session distributed solution

3. Scenarios of distributed locks

4. Distribution is the implementation of locks

5. Distributed transactions

6. Algorithm and implementation of cluster and load balancing

7. Talk about the design of sub-libraries and sub-tables

8. Distributed dilemma and countermeasures brought by sub-database and sub-table

Safety & Performance

safe question

1. Security elements and the STRIDE threat

2. Prevent common web attacks

3. Server communication security attack and defense

4. Analysis of the principle of HTTPS

5. HTTPS downgrade attack

6. Authorization and Authentication

7. Role-based access control

8. Data-based access control

performance optimization

1. What are the performance indicators?

2. How to find performance bottlenecks

3. Common means of performance tuning

4. Talk about how you perform performance tuning in your project

5. Add group: 650385180 to get the answers to the above interview questions

Engineering

demand analysis

1. How do you understand and split the requirements prototype

2. Talk about your understanding of functional requirements

3. Talk about your understanding of non-functional requirements

4. What interactions and improvements do you propose to the product?

5. How do you understand user pain points?

Designing ability

1. Tell me about the UML diagrams you have used in your project

2. How do you think about componentization?

3. How do you think about servitization

4. How do you do domain modeling

5. How do you draw domain boundaries?

6. Talk about domain modeling in your project

7. Talk about the outline design

Design Patterns

1. What design patterns are used in your project

2. Talk about the analysis of the use of design patterns in common open source frameworks

3. Talk about your understanding of design principles

4. Design concepts of 23 design patterns

5. Similarities and differences between design patterns, such as the difference between strategy pattern and state pattern

6. The combination of design patterns, such as the practice of strategy pattern + simple factory pattern

7. The performance of the design pattern, such as which singleton pattern has better performance.

business engineering

1. How is the front-end and back-end separation in your system done?

2. Tell me about your development process

3. How do you communicate with your team?

4. How do you conduct code reviews

5. Talk about your understanding of technology and business

6. Talk about the Exception you often encounter in your project

7. Tell me about the most difficult bug you encountered in the project and how to solve it

8. Tell me about the difficulties you encountered the most in the project and how you solved them

9. What do you think are the shortcomings of your project?

10. Have you encountered CPU 100%, how to troubleshoot and solve it

11. Have you encountered memory OOM, how to troubleshoot and solve it

12. Talk about your practice of agile development

13. Talk about your practice of development operation and maintenance

14. Introduce a project in your work that is most valuable to you, and your role in this process

soft power

1. Tell me about your highlights

2. Tell me what book you are reading recently

3. Talk about the technical books that you think are the most meaningful

4. What do you do outside of work?

5. Talk about your thoughts on the direction of personal development

6. Tell us what skills you think a server-side developer should have

7. Tell me what you think an architect is and what the architect mainly does

8. Talk about a technical expert you understand

 

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326938999&siteId=291194637