The back-end of the first-line Internet companies gathers (Pingduoduo + Ali + ByteDance), which step can you stick to?

Preface

Many Java developers may not have long working hours or rich work experience before the interview, so I don't know what questions Internet companies or first-line Internet companies will ask in technical interviews.
In addition, I may not be fully prepared. I was overwhelmed by a few questions by the interviewer within a few rounds of the interview, and ended in a disastrous defeat.
In response to these, I have collected and sorted out the interviews of some well-known big factories, and shared them here for your reference, so that readers who are about to interview or have ideas to change jobs will understand which questions they like to ask during interviews with first-line big factories~

Let's start to get to the main topic~

Pinduoduo (three sides)

one side

1. Briefly introduce yourself.

2. How to configure SpringBoot?

3. Where can the application.properties and application.yml files be placed? Priority?

4.The principle of SpringBoot automatic configuration?

5.How does SpringBoot modify the port number?

6.How many ways to enable SpringBoot features?

7. Which endpoint is accessed to obtain the Bean assembly report information?

8. Describe the processing flow of the thread pool?

9. How to activate the configuration of a certain environment?

10. Is there any solution for SpringBoot to read the configuration?

11.How does SpringBoot modify the port number?

Two sides
1. Please describe the workflow of Spring MVC?

2. Describe the workflow of DispatcherServlet?

3. What is MVC? What are the benefits of the MVC design pattern?

4. Which annotations of the controller in SpingMvc generally use, and are there other annotations that can be substituted?

5. The role of @Controller annotation.

6. The role of @ResponseBody annotation.

7. How does Spring MVC set up redirection and forwarding?

8. How do Spring MVC and AJAX call each other?

Three sides
1. Explain the JVM memory model in detail.

2. Why should JVM memory be divided into new generation, old generation, and persistent generation. Why is the new generation divided into Eden and Survivor.

3. Why is it divided into Eden and Survivor? Why are there two Survivor areas?

4. What is a complete GC process in JVM and how to promote the object to the old age.

5. How much do you know about the relevant knowledge of the JVM memory model, such as reordering, memory barriers, happen-before, main memory, and working memory.

6. Finally, talk about the projects you have participated in, those with relatively high technical content, related architecture design and what core coding you are responsible for.

 

Ali (three sides)

MySQL+Redis+message middleware+Zookeeper+microservice

Side
difference 1.MyISAM and InnoDB ** What are?

2. What are the characteristics of the MySQL transaction isolation level?

3. What MySQL index related optimizations have been made.

4. Briefly talk about the database paradigm.

5. How to page query for a table with 10 million data?

6. How to deal with the slow query due to the increasing amount of data in the order table?

7. What are the components of MySQL and what are they used for?

8. What are the disadvantages of MySQL query cache, under what circumstances should it be used, and what changes does 8.0 version have to query cache?

9. Is the unique index faster than the normal index, and why?

10. How does MySQL restore the data half a month ago

2.
What are the advantages of Redis over memcached?

2. Which data types does Redis support?

3. What kinds of data elimination strategies does Redis have?

4. Why does Redis need to put all data in memory?

5. What should the Redis cluster solution do? What are the options?

6. Under what circumstances will the Redis cluster solution cause the entire cluster to be unavailable?

7. What are the suitable scenarios for Redis?

8. What is the relationship between Redis and Redisson?

9. What are the advantages and disadvantages of comparing Jedis and Redisson?

Three sides
1. Self-introduction

2. Participate in concurrent projects, from design to deployment, follow the process.

3. How to realize the master-slave synchronization of the database and how to realize the transaction?

4. What are the similarities and differences between Alibaba middleware metaQ and its principles and existing Kafka?

5. Do you know any middleware in Ali? How does it work? What are the characteristics of other open source message queues?

6. What are the types of Znode?

7. What are the several deployment modes of Zookeeper?

8. Is Zookeeper's watch monitoring notification to the node permanent? Why is it not permanent?

9. What is the working status of Server under Zookeeper?

10. Talk about your understanding of SOA and microservices, as well as the adjustments and challenges involved in distributed architecture from the application level.

11. Three to five years of career planning? What do you want to ask me?

 

Today's headlines (three sides)

One side (50 minutes)

  1. What are the basic components of Linux?
  2. Why is the Linux architecture divided into user space and kernel space?
  3. What is the basic difference between BASH and DOS?
  4. What system log files does Linux have?
  5. Java GC mechanism? What are GC Roots?
  6. Red-black tree talk about five features, insert and delete operations, time complexity?
  7. Hashmap, how to expand, how to deal with data conflicts? How to efficiently implement data migration?

Two sides (40 minutes)
1. Introduce yourself and talk about your area of ​​expertise.
2. Explain the redis data structure.
3. How much do you know about design patterns?
4. What is the difference between the three agents in the design pattern?
5. When to use HashMap and when to use ConcurrentHashMap?
6. Why is Java 8 more efficient at concurrency?

Three sides (about 1 hour)
1. The realization of MySQL index, innodb index, how the b+ tree index is realized, why use b+ tree as index node, how much data is stored in a node, how to specify the size, and correspond to the disk page.

2. If Redis has 100 million keys, will using the keys command affect online services?

3. How many roles does the builder mode usually include?

4. Talk about the code implementation template method pattern.

5. How is MySQL data master-slave synchronization achieved?

6. What is the future plan?

7. Do you have anything to ask me?
 

At last

The interview questions and answers in the article have been sorted out for everyone (obtained at the end of the article)

If you need to get it, it’s troublesome one-click triple-link + comment, and then add VX (tkzl6666) to get it for free

Guess you like

Origin blog.csdn.net/m0_46874920/article/details/114267287