Ali's internal interviewer's manual, which is too late to stay up all night, can directly win the favorite offer of the big factory

foreword

Gold, three, silver and four are really too complicated. Recently, when I was sorting out the java interview questions, I accidentally found this Ali interviewer manual. This interview question is really different from the previous java core interview knowledge points. Different, this interviewer's manual is to analyze the problem from the perspective of the interviewer's question. To ask how fragrant it is, let's just look at the catalog and it's done!

Distributed, middleware, big data, high concurrency

Databases, Design Patterns and Practice

Data Structures and Algorithms

1. Distributed

1. Characteristics of large-scale website systems

  • High concurrency, large traffic: need to face high concurrent users, large traffic access
  • High availability: 7 x 24 hours of uninterrupted microservices
  • Massive Data:
  • The users are widely distributed and the network situation is complex:
  • Bad security environment:
  • Requirements change rapidly and releases are frequent:
  • Gradual development:

2. The evolution and development process of large-scale website architecture

  • Website architecture at the initial stage:
  • Separation of application services and data services:
  • Use caching to improve website performance:
  • Use a cluster of application servers to improve the concurrent processing of your website:
  • Database read-write separation:
  • Use a reverse proxy and CDN to speed up website responses:

3. Split VS cluster

4. Microservices vs SOA

5. The front and back ends are completely separated from the Rest specification

6. CAP three and two and Base theorem

2. Middleware

1. Cache

  • Why use cache
  • Excellent caching system Redis
  • Redis expiration policy and memory elimination mechanism
  • Progressive ReHash
  • cache penetration
  • Cache Avalanche

2. Message queue

  • Message Queuing Application Scenario
  • Traffic cut
  • Example of message middleware
  • E-commerce system
  • log collection system
  • Asynchronous Transactions - Callback Mechanism
  • Idempotent processing of messages
  • In-order processing of messages

3. Search engine

  • Inverted index
  • create index
  • search index
  • Lucene和ElasticSearch
  • tokenizer

3. Big data and high concurrency

1. Second Kill Architecture Design

  • Business introduction
  • Business Features
  • Large amount of instantaneous concurrency
  • low stock
  • Simple business
  • Technical Difficulties
  • Impact on existing business
  • place an order directly
  • Page traffic surge
  • Architecture Design Thinking
  • Limiting
  • peak clipping
  • asynchronous
  • cache
  • Overall structure
  • Client-side optimization
  • Kill the page
  • Prevent advance orders
  • API access layer optimization
  • Limit user dimension access frequency
  • Limit access frequency of product dimension
  • SOA service layer optimization
  • Seckill overall flow chart

2. Development history of database architecture

  • The good old days of stand-alone MySQL
  • Memcached (cache) + MySQL + vertical split
  • Mysql master-slave replication read-write separation
  • Sub-table and sub-library + horizontal split + mysql cluster

3. MySQL scalability bottleneck

4. Why use NOSQL NOT ONLY SQL

5. Traditional RDBMS VS NOSQL

6. Types of NOSQL databases

7. How to store product information on Alibaba Chinese station

8. Horizontal and vertical splitting of data

9. Distributed transactions

10、BitMap

11、Bloom Filter

12. Common current limiting algorithms

13. Load balancing

14. Consistent Hash Algorithm

Fourth, the database

1. Database paradigm

  • 1NF (First Normal Form)
  • 2NF (Second Normal Form)
  • 3NF (third normal form)

2. Database development specification

  • basic specification
  • Naming conventions
  • Field Design Specifications

3. Database index

4、MyISAM vs InnoDB

5. Problems caused by concurrent transactions

6. Transaction isolation level and lock implementation mechanism

7. MVCC (multi-version concurrency control)

8. Gap locks and phantom reads

5. Design Patterns and Practice

1. The five principles of OOP SOLID

2. Design Patterns

3. Proxy mode

4. Aspect-Oriented Programming (AOP)

5. Factory mode

6. Inversion of Control IOC

7. Observer mode

8、Zookeeper

6. Data Structures and Algorithms

1. tree

2. BST tree

3. BST tree

4. AVL tree

5. Red-black tree

6. B-tree

7. B+ tree

8. Dictionary tree

9. Jump table

10、HashMap

11、ConcurrentHashMap

12、ConcurrentLinkedQueue

13. Topk problem

14. The idea of ​​resource pool

15. JVM memory management algorithm

16. Container virtualization technology, Docker's idea

17. Continuous integration, continuous release, jenkins

In order not to affect everyone's reading experience, the 2022 Ali Interviewer Handbook has been packaged for everyone. I hope this interview question can be helpful to everyone in this year's gold three silver four interviews. !

Guess you like

Origin blog.csdn.net/SQY0809/article/details/123561498