I! '94! After three months of preparation, I finally got an offer from Ant Financial!

Because of the epidemic situation, I have been working remotely at home in the first half of the year, but I obviously worked eight hours a day, but only paid two-thirds of my salary. I was annoyed directly to resign to the leader.

So I have been looking for a job from June to the present few months, but I have encountered a lot of troubles, because I have been in the traditional industry for a long time, and it is really too difficult to go to a big Internet company. Every time I interview For me, the interview questions are a lot beyond the outline, and I don’t know much about many new technologies. Every time the interviewer looks at me, his eyes look like the picture below.

                              

                            

 

Before and after, the intermittent interviews really made me exhausted physically and mentally, and I also deeply realized the deficiencies of my technology stack. So every time I end the interview, I will seriously summarize. Continue to find information on the Internet to improve yourself. The more interviews, you will find that the interviews are actually those technical stacks as a whole. When we have a direction and plan to improve ourselves, we will grow quickly.

 

Below I will summarize the relevant content of more than twenty interviews. Hope to bring you some help.

Design Patterns

 

Talk about design patterns? What do you know?

Implement a single column mode.

What is the simple factory model?

What is the abstract factory pattern?

What is the observer mode?

What is the decorator mode?

What is the template method pattern?

Wait for 23 common design patterns to ask...

Spring source code analysis

 

What are the design goals, design concepts, and core of the Spring framework
? What are the advantages and disadvantages of Spring?
What are the application scenarios of
Spring and what modules does Spring consist of?
What design patterns are used in the Spring framework?
Explain in detail
what are the different types of events in the core container (spring context application context) module Spring framework
What are the different components of the Spring application?
What are the ways to use Spring?
What is the Spring IOC container?
What does inversion of control (IoC)
do? What are the advantages of IOC?
Implementation mechanism of
Spring IoC What functions does Spring IoC support
? What is the difference between BeanFactory and ApplicationContext?
How does Spring design the container? Explain the relationship between BeanFactory and ApplicationContext.
What is the usual implementation of ApplicationContext?
What is dependency injection in Spring?

Wait, there are several interviewers asking me if I have read the Spring source code...

Mybatis source code analysis

 

Disadvantages of MyBatis framework:

MyBatis framework applicable occasions

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?

Does Mybatis support lazy loading? If so, what is its implementation principle?

Mybatis's primary cache and secondary cache principle

What is the interface binding of MyBatis? What are the ways to achieve

What are the requirements when using MyBatis's mapper interface to call

and many more......

SpringBoot

 

What is Spring Boot?

What are the advantages of Spring Boot?

What is the core annotation of Spring Boot? Which annotations are mainly composed of?

What is the principle of Spring Boot automatic configuration?

How do you understand the Spring Boot configuration loading sequence?

What is YAML?

What are the advantages of YAML configuration?

Can Spring Boot use XML configuration?

What is the spring boot core configuration file? What is the difference between bootstrap.properties and application.properties?

and many more......

Performance optimization of Mysql

 

MySQL replication principle and process

The difference between myisam and innodb in MySQL

The difference between varchar and char in MySQL and the meaning of 50 in varchar(50)

Innodb transaction and log implementation

Several log entry formats and differences of MySQL binlog

Does your database support emoji expressions, if not, how to operate?

How do you monitor your database? How do you query your slow logs?

InooDB and MyISAM select count (*) which is faster, and why

Why does mysql use auto-increment columns as primary keys

The difference between B+ tree index and hash index

Mysql optimization

Performance optimized JVM

 

Under what circumstances will stack memory overflow occur

Detailed JVM memory model

Why should JVM memory be divided into new generation, old generation, and persistent generation. Why is the new generation divided into Eden and Survivor.

What is a complete GC process in JVM, and how do objects promote to the old age?

Do you know which types of garbage collectors, their advantages and disadvantages, focus on cms and G1, including principles, processes, advantages and disadvantages.

How much do you know about the relevant knowledge of the JVM memory model, such as reordering, memory barriers, happen-before, main memory, and working memory.

Simply talk about the class loader you know, can it break parental delegation, and how to break it.

JVM optimization

Performance optimized tomcat

 

What is the default port of Tomcat and how to modify it?

What kinds of connector operating modes (optimization) does tomcat have?

How many deployment methods does Tomcat have?

How does tomcat container create servlet class instance? What principle was used?

How to optimize tomcat?

Netty of distributed communication

 

What is Netty? Have you used Netty?

What are the characteristics of Netty?

What is Netty's zero copy?

What are the advantages of Netty?

Application scenarios of Netty?

What are the performance aspects of Netty?

What kind of important components are there in Netty?

How many ways does Netty send messages?

How many threads does Netty start by default? When will it start?

Dubbo of distributed service governance

 

What is Dubbo? Why use Dubbo?

What is the difference between Dubbo and Spring Cloud?

What protocol does dubbo support and which one is recommended?

What kind of service containers are built in Dubbo?

What kind of node roles are there in Dubbo?

What registry does Dubbo use by default, are there other options?

What are the main configuration items of Dubbo and what are their functions?

Dubbo has several fault tolerance mechanisms

dubbo service downgrade

Priority configuration of dubbo

and many more......

Registration Center Zookeeper

 

What is ZooKeeper?

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

Client callback Watcher

How does zookeeper guarantee the order consistency of transactions?

Why is there a Master in a distributed cluster?

How to deal with zk node downtime?

The difference between zookeeper load balancing and nginx load balancing

How many deployment modes does Zookeeper have?

and many more......

MongoDB

What types of NoSQL databases are there?

What is the most basic difference between MySQL and MongoDB?

What is the role of the analyzer in MongoDB?

MongoDB builds an index on A:{B,C}. Will queries A:{B,C} and A:{C,B} use indexes?

Does MongoDB support stored procedures? If so, how to use it?

How to understand the GridFS mechanism in MongoDB, why does MongoDB use GridFS to store files?

How do sharding and replication work?

When will the data expand to multiple shards?

What happens if I initiate a query when a shard stops or is slow?

and many more......

Redis

Redis Persistence Mechanism
Cache avalanche, cache penetration, cache warm-up, cache update, cache degradation, etc.
What is hot data and cold data? What
are the differences between Memcache and Redis?
Why is single-threaded redis so fast?
Redis data types, and the usage scenarios of each data type, Redis internal structure
redis expiration strategy and memory elimination mechanism
Redis Why is single-threaded, advantages
How to solve the problem of concurrent redis competition key
Redis cluster What should the plan do? What are the options?
Have you tried to deploy redis on multiple machines? How to ensure that the data is consistent?
How to deal with
common Redis performance problems and solutions for a large number of requests ?
Explain the Redis threading model.
Why is Redis's operation atomic? How to ensure atomicity?
Redis transaction
Redis implements distributed locks

and many more......

SpringCloud

 

What is SpringCloud? What are the advantages of using Spring Cloud?

What does service registration and discovery mean? How to achieve Spring Cloud?

What is the significance of load balancing? What is Ribbon?

What is Hystrix? How does it achieve fault tolerance?

What is Netflix Feign? What is Open Feign?

What is Spring Cloud Bus?

What is a service circuit breaker? What is service degradation?

The difference between Eureka and zookeeper

What is Spring Cloud Gateway?

What is zuul routing gateway?

What is a distributed configuration center?

and many more......

kafka

Why use kafka and why use message queues

What do ISR and AR in Kafka stand for? What does the scaling of ISR mean?

What is the broker in Kafka

How does Kafka follower synchronize data with the leader

What is the role of ZooKeeper in Kafka?

What is the role of ZooKeeper in Kafka?

Kafka's producer workflow

Kafka's consumer workflow

Data loss and repeated consumption scenarios

Kafka's data loss, how to achieve high reliability and consistency

How to solve consumer data loss and data repeated consumption

and many more......

rabbitMQ

 

What is RabbitMQ?

Rabbitmq usage scenarios

Basic concepts of RabbitMQ

RabbitMQ working mode

How to ensure the order of RabbitMQ messages?

How is the message distributed?

How to route the message?

What transmission is the message based on?

How to ensure that messages are not re-consumed? In other words, how to ensure the idempotence of message consumption?

How to ensure that the message is sent to RabbitMQ correctly? How to ensure that the message recipient consumes the message?

and many more......

rocketMQ

 

What are the roles of RocketMQ?

RocketMQ execution process

Please tell me what you know about Producer?

Tell me about your understanding of Consumer?

How many consumer consumption patterns are there?

How many modes are there for consumers to obtain information?

What is a timed message? How to achieve?

How does RocketMQ ensure high availability?

How to ensure that messages are not re-consumed? Or how to ensure the idempotence of message consumption?

How to ensure the reliable transmission of messages? What if the message is lost?

How to ensure the order of messages?

How to solve the delay and expiration of the message queue?

What should I do when the message queue is full? There are millions of news backlogged for several hours, talk about how to solve it?

and many more......

Mycat and ShardingSphere

 

What is Mycat? The principle of Mycat?

What is ShardingSphere? The principle of ShardingSphere?

What is horizontal split? What is vertical split?

Explain the global table, ER table, shard table?

When splitting the database table, how to choose the splitting rules?

Talk about the difference between Mycat and ShardingSphere, how to choose?

and many more......

Concurrent programming

 

Pros and cons of concurrent programming

The difference between threads and processes

Four ways to create threads

Java memory model

Concurrency keywords synchronized, volatile, final

What is CAS, AQS, ReentrantLock,

ReentrantReadWriteLock

ConcurrentHashMap, SynchronizedMap, CopyOnWriteArrayList, ThreadLocal, BlockingQueue, ConcurrentLinkedQueue, ArrayBlockingQueue and LinkedBlockingQueue of concurrent containers

Thread pool related issues

Concurrency tools

and many more......

I have asked a lot about concurrent programming related knowledge points, so I will not list them one by one. Anyway, I am very confused~

Nginx

What is Nginx and what does it do?

Load balancing rules supported by Nginx

How to configure dynamic and static separation server in Nginx

Nginx security configuration method

The difference between fastcgi and cgi?

Nginx commonly used commands?

What is forward proxy and reverse proxy

How Nginx handles HTTP requests

How does Nginx achieve high concurrency, etc...

Docker&K8s

What is the difference between Docker and virtual machine?

What is a Docker image

Docker container has several states

Explain the ONBUILD instruction of dockerfile

How to monitor Docker in production

What is Kubernetes? What does it have to do with Docker?

How does Kubernetes simplify containerized deployment?

How much do you know about Kubernetes clusters?

There are relatively few questions about Docker and K8s related knowledge, so I have a general understanding.

Answers to related questions

Friends in need can help like'+ follow, add assistant VX: mxx2020666, you can get it for free

Guess you like

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