Every Internet worker has a dream of Dachang in his heart. After all, if he has no experience of Dachang in his career, he will always feel that he has left a regret.
What does dachang mean?
Entering a big factory means higher wages, good connections and enviable working conditions and benefits.
However, although the big factory is good, its competition is also very fierce, long interview process, has let many people back.
However, internal promotion can bring you closer to dachang. After working for 5 years, I was also lucky enough to get the quota of internal promotion this year.
Self-introduction:
Coordinates Hangzhou, a TV university computer bachelor’s degree, 5 years of work experience, Java direction, this year’s career planning has a new plan, coincidence obtained NetEase and
Ali’s internal push opportunity, successfully get double offer, special share their experience, I hope to help more program ape.
NetEase (Yan Selection department of NetEase) : 2 rounds of technical side +HR side
Java basis:
What is the process of defining Integer x=20 Integer y=200 in memory?
What is the difference between HashMap and concurrentHashMap?
When does a HashMap have a circular list?
What lock does concurrentHashMap use when writing?
What is the underlying safety of RenteenLock?
Describe the JVM memory model and describe the role of each partition.
How heap memory works
Describe how multithreading works
The difference between start and run
The thread pool
Volite keyword principle, AtomicInteger underlying implementation
ThreadLocal keyword
Open source frameworks:
Which open source frameworks have you worked with? Tell me the ones you are most familiar with.
Describe spring’s IOC and AOP.
Common injection methods
The life cycle of Spring beans
Implementation principle of AOP
The implementation principle of Spring Task
The Spring transaction
Relationship between Spring and Spring MVC
How does SpringMVC process the entire request?
Database:
Mysql index implementation
B + tree
Select * from (a,b,c); select * from (a,b,c); and b=? and c=? Can you use this composite index? Why is that?
Say SQL tuning experience
Redis:
Redis data structure
Redis elimination strategy
Redis single-node and multi-node
Redis data storage
Network:
What was added to HTTP 1.1? What kinds of requests are there?
Describe the HTTP three-way handshake and four-way wave? Why do you need four waves?
Why does the TIME_WAIT state need to pass two maximum packet segments before it reaches the close state?
What process does the browser go through between making a request and receiving a response?
Nginx:
Nginx module, which you are most familiar with
How do you configure proxy_cache? Where does the cache exist? How exactly does it hit the cache?
Linux:
How do I view threads in a process?
How to batch replace a character in all files in a folder? (sed command)
Have you used the JPS, jmap, jstack, jstat command?
Alibaba (Ant Financial Sector) : 3 rounds of technical side +HR side
Operating system:
What is interprocess communication? Please explain in detail which way you have used in which scenario?
How do deadlocks occur? The way
How many states do threads have in Java?
OS pipeline implementation
Explain paragraphing and pagination
The difference between virtual address, logical address, linear address, and physical address
How do you understand the difference between coroutines and threads and processes?
Network:
Why three handshakes and four waves? How about three waves?
OSI and TCP/IP
HTTP server service, now want to do a frequency control for the user dimension or interface dimension, suppose 100 a second, ask without changing the original interface service, how do you achieve?
Network security related, CSRF attack how to defend
I am familiar with various protocols, such as TCP, UDP, and ICMP
How do you understand the difference between microservices and HTTP services?
Database:
Have you ever encountered garble problem in MySQL? How to solve it? What is the cause?
Select * From table_name where filed_name ! Do you have any questions about the meaning of the SQL statement = NULL?
The difference between where and having
Introduce the MySQL database engine InnoDB and its four isolation levels
What index is used, and what are the caveats about using this index
What are the problems that can arise in the database and table of data and how to solve them?
T_score (varchar),team1_id(int),team2_id (int);
Id :xx,team1_name: China,team2_name: Japan,score:4:1
Algorithm:
(1) if I give you a positive integer k, which may be large but not exceeding integer_max, and I give you a positive integer m (0-9), I ask you how many numbers are between 1 and k, and how many times does m occur. For example, if I give you k=12 and m=1, then 11,1,12, 1 occur four times
(2) an n-order int matrix, the person starts from (0,0), can only go up or right, the value in the matrix is the point value of the coordinate, the point value can only be obtained once, ask the person from (0,0) to (n-1, n-1) and then back, what is the maximum point value obtained round trip
Redis:
Five data types in Redis
Explain redisObjects and SDS
Redis = redis = redis = redis = redis = redis = redis = redis
How to resolve cache inconsistency
Redis persistence, file writing and file synchronization in AOF
When are redis persistence AOF and RDB applicable
Redis various data structures, operation time complexity
Redis’ master-slave replication principle, is it possible that the write operation writes to the master, and the read operation reads to the slave, so that I cannot read the latest data, but if I want to ensure consistency, how to solve the problem?
Kafka:
Concept explanation, the producer/consumer/partition/topic/offset/broker
Why does Kafka have so much higher throughput compared to other MQ, have you thought about what scenarios Kafka is suitable for, or how you compare the different MQ products
Cap theory in Kafka high availability, talk about your understanding
How does Kafka ensure that messages are not re-consumed
What if I want to save messages in Kafka to a different data source?
conclusion
Interview, in fact, is a two-way selection process, in this process, we should not hold the attitude of fear to treat, it will affect their play.
It’s not just the salary you’re looking for, it’s whether you really like the company and whether you’re getting a real workout.
In fact, I have written so much, just my own summary, not necessarily applicable to all people, I believe that after some interviews, we will have these feelings.
Hope everyone can find suitable for their own company, open happy heart of the masturbation code.
The above interview questions have been compiled into a PDF file, hoping to help you review and find a good job before the interview, and relatively save you time searching for information on the Internet to learn!!
Attached welcome to pay attention to my public variety number: IT resources of the home, scan the following two-dimensional code can receive more first-line large factory Java interview materials!
The last
Welcome to the comments section to communicate and improve each other; Sorting out information is not easy, if you like the article remember to point a zan ha, thank you for your support!!