Interview questions from Dachang at the beginning of the year and recent friends.
Alibaba
How to make a deep copy of an object, except for clone
happen-before principle
Practice of jvm tuning
Will singleton objects be recycled by gc of jvm?
How to optimize redis if the list is large
Tcp dip and half packets
Some APIs and usages related to socket programming
Is the connection established and processed by the same socket? What are the two queues in the socket?
Have you used netty in the project?
New features of TSL1.3
AES algorithm principle
Use of redis cluster
Comparison of mysql and mogo
Scenario: Design an im system including group chat and single chat
Scenario question: design database connection pool
Scenario: Design of the spike scenario
Meituan
Project detailed information, involving some aiot interactive processing, how to realize the instruction encoding and decoding and instruction conversion of a large number of different devices, server architecture, own responsibility module
OOM troubleshooting
Have you ever used a distributed lock, how to implement it, and talk about the principle
Where is the redis jump meter and why is it used?
Practical experience of mysql optimization
Difference between hashMap1.8 and 1.7
The principle and use of netty
tcp connection process
Socket has several queues
How many connections can a server support and why
How to set each parameter of tcp
The underlying basic data types of redis, the principle of redis cluster, the use of cluster cluster
mysql storage engine type, index type, innodb data storage method
Thread pool parameter description, rejectHandler description
The principle of volatile
What kinds of garbage collectors does jvm have, and their respective application scenarios
Features of g1 collector
jvm structure
The four-layer and seven-layer load balancing principle of load balancer
Scenario question: Design a high-availability and high-concurrency e-commerce system
Tencent
How to achieve idempotence on the Kafka production side
How Kafka implements distributed messaging
Kafka's slave synchronization mechanism
How does Kafka perform message writing ack
Why the hash method must be implemented first to implement equals
How to save the structure of a new object
Talk about the process of class loading
Redis hash data structure and how to expand
How to read mysql snapshot
The transaction isolation level of msyql, the difference between non-repeatable read and phantom read
YY
JVM tuning ideas
How to expand the redis cluster cluster smoothly and excessively, design from the client
If mysql's sql itself is okay, there is no index reason (repeatedly emphasized that sql is no problem, no need to consider from the perspective of sql)
How does Kafka ensure that messages are not lost
How to perform cross-database joint query
The current limit design is implemented in java, not the tool library
The design of dubbo and the complete calling process (to be detailed)
How to solve the problem of es split brain
Poison
What happened to the process of new an object
What is the principle of spring circular reference solution?
The difference between FactoryBean and BeanFactory
Synchronized principle?
How does CAS volatile work?
Memory model? What is main memory? What is working memory?
Database index type? principle?
Spring Bean life cycle?
mysql optimization experience?
mysql lock type?
What should be paid attention to during the use of redis?
JVM tuning parameters?
Principle of thread pool? What does the attribute mean?
HashMap ConcurrentHashMap principle?
Are you hungry
Project introduction, how to continuously optimize the project and upgrade the structure? If the business volume increases sharply, how to ensure the system's high availability and scalability?
How much is the order volume and daily increase? How to do sub-database sub-table? Based on what dimension?
It is detected that the memory of the jvm is larger than the memory of the xmx configuration of the jvm. One of the three machines has the above phenomenon. How to explain?
How to solve the redis hot key?
Why is Kafka high performance?
OOM scenario analysis?
How is the mysql cluster deployed, master-slave synchronization?
How to set which GC method to use? What are the GC collectors of different ages?
How to troubleshoot high online CPU
New features of jdk1.8
BIO\NIO understand
How does mq ensure message reliability?
What should I do if the system load is too high and what caused the problem? How to troubleshoot?
What are the brief introductions of linux operating system?
Nakadori
JVM introduction
JMM model
What are the gc roots?
JVM tuning experience?
Thread pool considerations, exception handling
The use and principle of distributed locks?
How to persist redis? High availability?
How does the rpc framework work?
Troubleshooting for slow interface calls
Business system architecture, business volume
Database design, optimization plan
Fish Bubble (Bixin)
More accomplished projects
How is settlement achieved?
Unified cash register design?
What is the difference between rocketMq and kafka?
The flow of Kafka messages from production to consumption?
hashMap hashTable区别?
Understanding of thread safety?
How does CAS realize?
How many ways to implement code locking?
Quick sort algorithm
Distributed locks to handle the failure of lock acquisition, synchronization between threads?
Redis thread model, expiration mechanism, elimination strategy?
Thread pool parameters, usage scenarios, parameter settings analysis?
mysql storage engine, index structure, sub-database and sub-table
Scenario: Design a red envelope grab system
Finally, welcome to scan the QR code to follow the official account Ai Xiaoxian
Focus on sharing Java technology knowledge, interview experience with major companies, system architecture design, technology growth experience, etc.
Ai Xiaoxian, the owner of the number, has been a technical director for 3 years after graduation, and is now a local life technology expert in Alibaba, with more than 10 years of experience in development and architecture. Over the years, I have been engaged in many industries such as Internet security, e-commerce, hotels, cross-border payment, and finance. After paying attention, I will definitely gain.