Ali on three sides, review and summary 55 questions: java foundation + distributed + network + architecture design

Ali side

  1. Self introduction
  2. Linked lists, advantages and disadvantages of arrays, application scenarios, complexity of finding elements
  3. How to realize the binary tree
  4. What are the locks in Java
  5. What is the design idea of ​​reentrant lock
  6. Optimistic and pessimistic locking
  7. synchronized mechanism
  8. The principle of hashmap, which method is used to deal with hash conflicts (zipper)
  9. Also know what method to handle hash collisions (open address detection)
  10. How to achieve open address detection
  11. Delete an element from the hash table, and then add an element that happens to conflict with the original hash, where will this element be placed
  12. Concurrent container, the difference between Hashtable and concurrenthashmap
  13. How to use redis atomic operations better
  14. Which message queues have been used?

Ali two sides

Operating system module:

1. Talk about the difference between parallelism and concurrency

2. Do you know the process? Why are there processes and threads?

3. How does the operating system schedule processes?

4. For example, under Linux, I open a file and call the read function. The more detailed the whole process, the better

5. Synchronous and asynchronous blocking non-blocking IO as detailed as possible.

Network module :

  1. TCP message format
  2. TCP and UDP
  3. Congestion control
  4. Timeout retransmission
  5. Three handshake
  6. Sliding window
  7. Port numbers of common protocols

Database module:

  1. Index data structure
  2. Index common optimization solutions
  3. Storage engine
  4. Transaction (how does the spring framework implement transactions?)
  5. Vertical split
  6. Sub-database and sub-table
  7. Read and write separation

Java module:

  1. hashmap
  2. Arraylist和linkedlist
  3. fly
  4. Thread pool, how to design the thread size according to the number of CPU cores, if it is computer-intensive, if it is IO-intensive?
  5. The underlying implementation principle of countdownlatch and CyclicBarrier
  6. Thread status and how the API operates will cause this transition

JVM module

The interviewer said only three questions were asked:

1. Memory model and partition, what to put in each area in detail

2. Partitions in the heap: Eden, survival, old age, their respective characteristics.

3. Garbage collection algorithm, when to recycle.

distributed:

1. Redis and memached selection, which one do you prefer and why?

2. Distributed transaction resolution, do you know how we do at Alibaba?

3. Comparison and selection of message queues?

5、CAP

Ali three sides

  1. Self introduction
  2. How to learn technology, open source, books, self-study, practice, specific learning methods?
  3. The most technical project, talk about the process from architecture design to deployment
  4. What are the common database bottlenecks and how to optimize
  5. How to realize the function of WeChat attachment

The above are the three-sided questions of Ali, and the following are the classic interview questions of Ali .

Ali side

  1. Self introduction
  2. Linked lists, advantages and disadvantages of arrays, application scenarios, complexity of finding elements
  3. How to realize the binary tree
  4. What are the locks in Java
  5. What is the design idea of ​​reentrant lock
  6. Optimistic and pessimistic locking
  7. synchronized mechanism
  8. The principle of hashmap, which method is used to deal with hash conflicts (zipper)
  9. Also know what method to handle hash collisions (open address detection)
  10. How to achieve open address detection
  11. Delete an element from the hash table, and then add an element that happens to conflict with the original hash, where will this element be placed
  12. Concurrent container, the difference between Hashtable and concurrenthashmap
  13. How to use redis atomic operations better
  14. Which message queues have been used?

Ali two sides

Operating system module:

1. Talk about the difference between parallelism and concurrency

2. Do you know the process? Why are there processes and threads?

3. How does the operating system schedule processes?

4. For example, under Linux, I open a file and call the read function. The more detailed the whole process, the better

5. Synchronous and asynchronous blocking non-blocking IO as detailed as possible.

Network module :

  1. TCP message format
  2. TCP and UDP
  3. Congestion control
  4. Timeout retransmission
  5. Three handshake
  6. Sliding window
  7. Port numbers of common protocols

Database module:

  1. Index data structure
  2. Index common optimization solutions
  3. Storage engine
  4. Transaction (how does the spring framework implement transactions?)
  5. Vertical split
  6. Sub-database and sub-table
  7. Read and write separation

Java module:

  1. hashmap
  2. Arraylist和linkedlist
  3. fly
  4. Thread pool, how to design the thread size according to the number of CPU cores, if it is computer-intensive, if it is IO-intensive?
  5. The underlying implementation principle of countdownlatch and CyclicBarrier
  6. Thread status and how the API operates will cause this transition

JVM module

The interviewer said only three questions were asked:

1. Memory model and partition, what to put in each area in detail

2. Partitions in the heap: Eden, survival, old age, their respective characteristics.

3. Garbage collection algorithm, when to recycle.

distributed:

1. Redis and memached selection, which one do you prefer and why?

2. Distributed transaction resolution, do you know how we do at Alibaba?

3. Comparison and selection of message queues?

5、CAP

Ali three sides

  1. Self introduction
  2. How to learn technology, open source, books, self-study, practice, specific learning methods?
  3. The most technical project, talk about the process from architecture design to deployment
  4. What are the common database bottlenecks and how to optimize
  5. How to realize the function of WeChat attachment

The above is the three-sided question of Ali, the following is the summary of Ali’s classic interview questions and answers , covering: Java, MyBatis, ZooKeeper, Dubbo, Elasticsearch, Memcached, Redis, MySQL.Spring.Spring Boot, Spring Cloud, RabbitMQ, Kafka, Linux Technology stack

Friends who need to get: After you like, you can send a private message [Interview] (be sure to follow me, otherwise there is no way to reply to a stranger's private message).

 

 

 

 

Guess you like

Origin blog.csdn.net/bjmsb/article/details/109201649