Interview Meituan was asked about Redis, understand these questions, let you easily hang the interviewer

Every programmer has the dream of a big factory. 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.

Today, for this kind of Java engineers, I will summarize the interview questions that Internet companies and some big companies must ask- Redis will do an interview sharing, so that readers who are about to interview or have ideas to change jobs can be handy when interviewing Redis. offer level

By the way, share a Java programmer’s three-sided technology + HR technology-based interview experience (internship offer)

Internet Redis interview questions! Let me show you a few of them and see if you can answer them:

(0) Why is redis key and value, and why doesn't it support SQL?

(1) Is redis multi-threaded or single-threaded? (Please go back for the single-threaded answer)

(2) How does the redis persistence enable the restart service under RDB and AOF? (10 people have 9 wrong answers)

(3) How to plan for redis cluster? How is AKF/CAP realized and designed?

(4) How to use redis to store the login status of 100,000 users 365 days a year, and quickly retrieve the active users in any time window?

(5) How many of the five value types of redis have you used, can you give an example?

(6) How to design Redis storage method for 1 million concurrent 4G data and 100,000 concurrent 400G data?

Meituan

one side

  1. Self introduction
  2. Data structure algorithm
  3. Find the third point of the singly linked list, if the singly linked list has a ring
  4. Talk about the structure of the project
  5. Talk about the design patterns you are familiar with
  6. Have you configured the server?

Two sides

  1. Spring: Have you ever used Spring, Spring IOC, AOP mechanism and implementation, Spring MVC
  2. Multithreading: How to achieve thread safety, what are the differences between the implementation methods, the use of the volatile keyword, the understanding of reentrant locks, and is Synchronized reentrant locks?
  3. Collection: The underlying implementation of HashMap, how to achieve HashMap thread safety
  4. JVM memory management, GC algorithm, garbage collector in HotSpot, class loading
  5. The difference between process and thread
  6. Is there a state in HTTP, I say stateless, how to solve HTTP stateless
  7. Java IO, NIO, is there any implementation of asynchronous IO in Java
  8. Will the front end, what is Ajax, and the principle of Ajax implementation?
  9. Let me design a thread pool
  10. Talk about a few design patterns, where are they used, and why are they used
  11. Mysql optimization and index realization
  12. Transaction isolation level
  13. Have you used Hibernate, mybatis, git?
  14. Linux
  15. Algorithm question

Three sides

  1. MySql optimization
  2. Talk about what the project did, architecture and so on
  3. Write the code online on collabedit, the title is very simple, the original question on the beauty of programming, an ordered array of integers, output two numbers, so that their sum is a given value. I did it before and wrote it quickly, and then gave him some ideas. He continued to ask what to do if the array is unordered, sort it first.
  4. Two files, each file has several urls, find the same url in the two files (using HashMap)

HR face

  1. Introduce yourself, even if you are all around, introduce yourself? ! I thought it was pure hr noodles, so the introductions were all about my character and life, but the result was not.
  2. Ask about the project, the technical details, what problems were encountered, how to solve them, was there anyone to lead the project, and how to communicate with others.
  3. Database optimization, what to do if a table in the database is particularly large. Database optimization. I have talked about the points that I have talked about many times before. He asked what to do if a table is particularly large: large tables are divided into small tables, how to implement: use partition tables
  4. Ask the graduate student’s research topic, why I chose this topic, what papers I have read (as far as to ask me which journal are those papers published in, which school is the author), why I choose this algorithm, how to optimize, and experiment How does the result compare with others, and why is it better than others' algorithms? (I guess he doesn’t understand the professional terms I’m talking about, I’m just judging if I did it..)

Meituan Redis Interview Questions

  • What are the benefits of using Redis?
  • What are the advantages of redis over memcached?
  • Redis common performance problems and solutions
  • There are 2000w data in MySQL, and only 20w data is stored in redis. How to ensure that the data in redis is hot data
  • What are the differences between Memcache and Redis?
  • What are the common performance problems of Redis and how to solve them?
  • The most suitable scenario for redis
  • Do you understand the synchronization mechanism of Redis?
  • Have you used Redis cluster, what is the principle of cluster?
  • How does the redis cluster ensure consistency?

The most comprehensive collection of Redis interview answers in history

Due to space limitations, many contents only show catalogs and screenshots, which are organized in documents. Those who need these documents can be shared with everyone for free. I hope all programmers can learn and strive to realize our big factory. dream!

Information acquisition: add VX: MXW5308 to take away!Interview Meituan was asked about Redis, understand these questions, let you easily hang the interviewer

 

Interview Meituan was asked about Redis, understand these questions, let you easily hang the interviewer

 

Getting started with Redis

  1. Similarities and differences between Redis and other software
  2. Redis usage
  3. Simple interaction with Redis using Python sample code
  4. Use Redis to solve practical problems

Use Redis to build web applications

  1. Login cookie
  2. Shopping cart cookie
  3. Cache generated pages
  4. Cache database rows
  5. Analyze webpage visit records

Redis core concept part

  1. Redis commands
  2. Data security and performance guarantee
  3. Use Redis to build support programs
  4. Use Redis to build application components
  5. Search-based applications
  6. Build a simple social network

Redis advanced content

  1. Reduce memory usage
  2. Giant extension Redis
  3. Lua script programming of giant Redis

Interview Meituan was asked about Redis, understand these questions, let you easily hang the interviewer

 

Interview Meituan was asked about Redis, understand these questions, let you easily hang the interviewer

 

Prepare for the peak interview season at the beginning of the year

How to review in advance?

1. Java Interview Learning Collection

  • Java experience
  • java back-end interview questions answers
  • The most comprehensive JVM interview topics and answers
  • Microservice interview topics and answers
  • SpringMVC interview topics and answers
  • SpringCloud interview topics and answers
  • Redis interview topics and answers (upper and lower)
  • 2019 Ant Financial Java Interview Questions and Answers

Interview Meituan was asked about Redis, understand these questions, let you easily hang the interviewer

 

2. Interview practical books

  • Learn Redis in a simple way
  • Redis combat books
  • JAVA core knowledge points finishing
  • Spring Cloud microservice combat
  • Learn more about Spring Boot 2.x
  • Practice SpringBoot in depth
  • Deep analysis of Spring source code

Interview Meituan was asked about Redis, understand these questions, let you easily hang the interviewer

 

Java core knowledge review document

Interview Meituan was asked about Redis, understand these questions, let you easily hang the interviewer

 

Due to space limitations, many contents only show catalogues and cut-offs, which are organized in documents. Those who need these documents can be shared with everyone for free . I hope all programmers can learn and strive to achieve our big factory. dream!

Information acquisition: add VX: MXW5308 to take away!

Guess you like

Origin blog.csdn.net/weixin_45132238/article/details/112476059