[Jingdong Noodles] Thank you fans for posting and sharing their experience of joining JD.com for 2 years. Now I share them with everyone who hasn't landed yet!

Preface

Let me talk about the situation first. I probably started reading and learning in June this year, and in September of this year, I have been learning to see that more than 90% of everyone’s experience is basically good. I started to submit my resume in May. Add basic knowledge during the interview. It is also a bit hard. I finally got an offer from Jingdong not long ago. Holding the attitude that sharing is a virtue, now I sort out my interview experience and share it with you. Below, I will share my interview experience, tips for submitting resumes, technical notes and even source code notes that I summarized. ,I hope to be helpful!

In addition, I am here to prepare interview materials for first-line manufacturers and my original super hard-core PDF technical documents, as well as a number of interview questions from large manufacturers that I have carefully prepared for you (constantly updated). Friends in need click here to remark csdn , Download by yourself ! Hope everyone can find the job they want!

one side

  • How does redis keep consistent with the database? Update the database first, then delete the cache

  • Update the database first, and then delete the cache. Is there any problem? If the database update is successful, but the cache deletion fails, you need to try again.

  • What does retry mean? Message queue retry

  • The redis key will set the expiration time. If it expires, will the key be deleted? It will not be deleted and cannot be accessed by users, but it may still exist in memory because of the lazy deletion and periodic deletion strategy.

  • Suppose I have 3 redis, and I write data to redis, how can I ensure that the data can be evenly distributed to the three nodes?

  • How does the redis cluster know whether the cluster status is good or bad?

  • Assuming there are 3 tomcat servers, how to ensure that requests can be evenly distributed to 3 tomcats? Consistent hashing algorithm

  • What are the benefits of consistent hashing algorithm and common hashing algorithm? If the node is added or deleted, the common hash algorithm keys must all be allocated, and the consistent hash algorithm only needs to redistribute some keys

  • What data structure does redis have

  • Why is redis fast

  • The difference between select and epoll

  • ArrayList structure

  • What is the structure of LinkedList? Doubly linked list structure

  • Is ConcurrentHashMap thread safe?

  • 1000 threads add 1 to i=0. What is the result and how to ensure correctness? AtomitInteger

  • What is the java thread model

  • Volatile role

  • There is a thread running, and I need to wait for the results of other threads. What should I use?

  • The difference between countdownlach and cycleBarrier

  • threadLocal understand

  • How to solve the cas ABA problem

  • linux view the usage of a port

  • What happens when you enter www.baidu.com on the browser

  • Why is tcp reliable

  • Will it disconnect immediately after the fourth wave?

  • What indexes does InnoDB have

  • The difference between hash index and B+ tree index

  • Time complexity of B+ tree index

  • What is stored in B+ tree leaf nodes

  • Does an InnoDB table have a clustered index?

  • How do you see whether the index is executed, let you view the execution plan, what do you think

  • Now there is a table, id name sex school. If you often want to query by gender, do you need to add an index?

  • How to judge the quality of an index

  • select name from table where name="XXX", select * from table where name="XXX", if you only need to query name, which one to use and why? No need to return to the table

  • What is the default isolation level of mysql?
    36. What is the problem with repeatable reading?

  • How does mq guarantee non-repetitive consumption?

  • Kafka consumer group, can one message be consumed by multiple consumer groups?

  • Algorithm question:

  • leetcode 143

Two sides

  • Why switch to a computer
  • The difference between object-oriented and process-oriented
  • Object-oriented features
  • The relationship between hashCode and equals
  • Explain hash collision
  • How does java expand the platform
  • jvm memory structure
  • When will youngGC and fullGC be triggered
  • What types of memory overflow are there
  • How to solve the memory overflow? Adjustment parameters
  • What is the initial heap, will it cause memory overflow?
  • Besides adjusting the parameters, is there anything else?
  • Is there anything else besides using larger memory?
  • How to troubleshoot memory leaks
  • Is there any command to troubleshoot
  • What is the difference between thread and process
  • What is a thread
  • spring IOC和AOP
  • How does AOP work?
  • The difference between JDK proxy and cgLib proxy
  • What is the difference between springboot and spring
  • How to implement springboot's starter
  • If you let you implement a starter
  • What is a database transaction
  • How to solve the problem of dirty reading
  • Principle of isolation level
  • What is the phantom reading if it is resolved
  • What is distributed transaction
  • What are the solutions for distributed transactions
  • Defects of 2PC
  • Do you have any other experiences in graduate school?
  • What do you mainly do at the graduate level
  • Main direction during postgraduate
  • Why not do NLP
  • How to troubleshoot the message backlog
  • How does your mentor evaluate your solution
  • Do you know the big data search engine hadoop hbase
  • Why use es instead of database
  • Then you have the participle
  • Database fragmentation can also be solved, why not use database fragmentation
  • es fragmentation mechanism
  • What is the difference between primary shard and replica shard
  • Who selected the es solution

Three sides

  • Self introduction
  • How much do you know about Java syntax
  • Store a lot of goods in the memory, there are multiple threads to buy goods, the purchase count is increased by one, how to achieve
  • How to lock the string
  • Distributed lock
  • es talk about
  • cookie和Session
  • What data use cookies, what data use session
  • Why choose java direction
  • Why learn computer
  • Career goals
  • How do you usually learn
  • Have you participated in the training class
  • What offer
  • Which JD Baidu prefers
  • How much time do I have to improve myself
  • What are the requirements for the company
  • What are the requirements for the team
  • What's the sense of accomplishment to share
  • What are the technical shortcomings
  • Is there anything you want to ask me? In your eyes, what qualities should a good candidate possess
  • When can I come for an internship
  • Do you have any requirements for the job industry

to sum up

Finally, I prepared the Java architecture learning materials for everyone. The learning technology content includes: Spring, Dubbo, MyBatis, RPC, source code analysis, high concurrency, high performance, distributed, performance optimization, microservice advanced architecture development, etc. Friends in need can click here to remark csdn and download by themselves ! In fact, as a programmer, it is necessary to enrich one's knowledge reserve and enhance the depth and breadth of one's knowledge. In my opinion, the rewards will be as much as you pay.

There are also Java core knowledge points + a full set of architect learning materials and videos + first-line interview collections + interview resume templates + Alibaba Meituan Netease Tencent Xiaomi Iqiyi Kuaishou Bilibili interview questions + Spring source code collection + Java architecture actual combat electronics Share the book with everyone for free!

Guess you like

Origin blog.csdn.net/jiagouwgm/article/details/111499284