Seeing this autumn recruitment almost smoothly ended, ALMOST ali, Baidu, Meituan, Byte, Didi and other big factories I have crazy job interview. The results were satisfactory, but I was impressed by Aliyun. The reason? Read on…
-
Aliyun side: MySQL+Redis+JUC+Kafka+ project
-
Aliyun 2: Project +Java+ database + Network + high concurrency + foundation
-
Aliyun three sides: project + source
-
Aliyun four sides: Base + project + Cache + lock
I asked a lot of questions, I think it is quite extensive (after all, interview rocket building, work screw), and some didn’t remember (limited brain capacity hahaha). The above is just a large direction, let’s have a look at the specific problem…
Aliyun side: MySQL+Redis+JUC+Kafka+ project
MySQL (1) the MySQL data volume is too big to do, how to depots table (2) the binlog, read and write, master-slave replication (3) the lock in the MySQL understand
Redis (1) master-slave replication (2) distributed lock (3) hash slot, consistent hash
JUC (1) lock
Kafka (1) High performance reasons
Aliyun two aspects: project +Java+ database + network + high concurrency
Item (1) Flume (2) Kafka (3) Where does the data come from (4) How to give the recommendation algorithm
JAVA (1) ThreadLocal (2) ConcurrentHashMap (3) JNI principle (4) Serialization, UUID
Database (1) Why does InnoDB support transactions
Network (1) Three-way handshake (2) MTU HTTPS, SSL, CA TP-link one side
The thread pool
Interfaces and Inheritance
Exceptions and errors
Principle of reflection
Aliyun three sides: project + source
Project, talk to the code again
Source code, JUC package sharing desktop again
Aliyun four sides: Base + project + Cache + lock
project
Base (1) NIO, epoll, SELECT… (2) How to design caching systems, skiplist (3) locking, volatile… (4) Float how many bytes, massive data TopK
To summarize a little bit, share a wave of experience
The above is Aliyun’s visit this time. I don’t need much HR for 5 interviews. Basically, there are only a few questions, you know.
Summary here just want to share some of my interview preparation experience and so on, in fact everyone has their own set of learning and interview treasure notes and so on, but xiaobian still want to share their own here, to provide you with some reference is also good.
Disclaimer: The following shared experience, mentioned all the interview learning advice and notes, xiaobian here have a PDF or Word document, want to refer to you can directly scan the bottom to get, good things we learn to share.
Aliyun, for example, focuses on the basics of Java, so for the basics of Java, check out this **< Java interview guide > questions about the basics: Java foundation + algorithm and programming +html&JavaScript& Ajax +Javaweb+ database +XML+ popular framework and new technology + software engineering and design pattern + J2EE +EJB+ WebService **
Second, like MySQL+Redis+Kafka+ concurrency, etc. These higher order points, can be used to scan the advanced point of the Java experimental aggregation: message queue + sub-library sub-table + read and write separation +Redis cache + distributed + high concurrency + high availability, etc. **
All of that is the Java interview, but what about the source code? How do we learn? Fear not, xiaobian also has a secret weapon.
If you’re asked about source code in an interview, these are the 20 most common source code questions you’ll hear.
< See through Spring MVC source code analysis and practice >
**<Kafka source code parsing and combat >**
This book systematically introduces the implementation principle and application method of Kafka, and introduces the operation and maintenance tools of Kafka, client programming methods and third-party integration, simple, illustrated, thorough analysis. The book consists of 10 chapters, including:
-
Chapter 1 introduces the background and main design goals of Kafka.
-
Chapter 2 introduces the basic structure, topology and internal communication protocol of Kafka.
-
Chapter 3 describes BrokerServer and its internal module composition.
-
Chapter 4 describes the nine basic modules inside BrokerServer.
-
Chapter 5 introduces the Broker’s control management module.
-
Chapter 6 introduces the management tools for the Topic.
-
Chapter 7 introduces the knowledge of message producers from four aspects: design principles, sample code, module composition, and sending mode.
-
Chapter 8 introduces two types of consumers: the simple consumer and the advanced consumer.
-
Chapter 9 introduces typical Kafka applications, including integration with typical big data systems like Storm, ELK, Hadoop, and Spark.
-
Chapter 10 presents a comprehensive example that describes the role of Kafka as a data bus in an overall security solution.
, mainly has the following contents:
Source code here, and the relevant source code study notes and interview analysis have been organized into a book…
Whether JAVA interview this piece of the **< JAVA interview gem >, < JAVA advanced surface pilot assembly > or source code ** this piece of notes and analysis: Spring+SpringMVC+kafka+MyBatis source interpretation and so on, there is a demand, want to learn from, can be.