? It took six months, five Ali Java posts, and finally almost fell to the last HR side

took months ali java posts


I don't know how many people want to visit Ali's technology department , What have you experienced , My purpose is to meet Ali , The preparation time and the interview cost 6 months .

It's really a bit of a rush before the interview , Three interviews in a week , And then I began to wait endlessly , I've been waiting for about three weeks , Finally, the four sides and HR Noodles . The whole process is quite tortuous , The technical interview is quite a survey of technical depth . Now I've got offer.

The interview questions are as follows : one side ( It's mainly about the basics ):

Introduce yourself first , Talk about your basic knowledge , And project experience

What data structures do you usually use ?

Advantages and disadvantages of linked list and array ?

solve hash What are the conflicting methods ?

Tell me you're right HashMap The understanding of the , And the Weakhashmap The difference between ?

What you just said is JDK1.7 Implementation of version , know JDK1.8 What changes have been made ?

You use it in microservices RPC Communication or REST?

RPC and HTTP What is the relationship of ?

Talk about what is HTTP Long and short connections of ?

TCP Three and four waves of , And why three handshakes , Not twice ?

TCP What are the States , Meaning of corresponding state ?

And the implementation layer of lock in the contract ( Yes AQS The understanding of the )?

Understanding and Realization of optimistic lock and pessimistic lock , What are the ways to do it ?

SynchronizedMap and ConcurrentHashMap What's the difference? ?

How to implement a producer and consumer model using blocking queues ?

Briefly Java Garbage collection mechanism ?

How to judge whether an object is alive ?

What is? tomcat Class loading mechanism ?

The mechanism of parent delegation model of classloader ?

Let you evaluate yourself ?

Two sides ( Mainly asked the underlying and algorithm ):

It's about the project 、 Tell me about the project experience

redis What do you know about the underlying data structure of ?

Know dynamic strings sds What are the advantages and disadvantages of (redis One of the underlying data structures )?

redis What are the advantages and disadvantages of the single thread feature of ?

Used to Redis Which data structures , What scenarios are used respectively ?

How to solve the problem of cache breakdown ?

Hytrix What are the isolation mechanisms of ?Hytrix What are the common configurations ?

What tuning has been done ?JVM tuning 、 Database tuning is OK !

Gave a scene , Ask you how to adjust ?

On three sides ( database ):

Still introduce yourself

What is the high availability architecture of the database ?

How to ensure the consistency of database master and slave ?

know mysql The index algorithm of ?

Why? mongodb The index of is used B Trees , and mysql use B+ Trees ?

use mysql In the process , Do you have any problems ?

What kind of transaction isolation level is used in production , Why? ?

Talk about your understanding of microservice architecture ?

Which have been used? RPC frame , Talk about their advantages and disadvantages ?

Used to docker Do you , How much do you know about containers ?

Four sides ( On the side of Architecture ):

Introduce yourself , Talk about project experience

How to divide microservices in the project , How to determine the granularity ?

In practice microservice architecture , What's the problem ?

In terms of data consistency between microservices , How to solve it ?

Why not use others MQ, Finally, I chose RokcetMQ?

Why? RocketMQ no choice ZooKeeper, It's the realization of a NameServer colony ?

Zookeeper In the course of the election , Can we still provide external services ?

Yes Paxos How much does the algorithm know ?

If you want to design a red envelope architecture for Spring Festival Gala , How would you design ?

What do you want to ask me ?

Five sides (HR Noodles ):

Talk about life and ideals ,HR very ncie, Why did you choose to come to Ali , Future plans, career planning and salary, etc , It's been a lot of fun .( I almost fell over because I said something wrong ......)

Interview summary :

The technical foundation must be solid : Algorithm 、 data structure 、 Operating system, etc , Ant financial interview attaches great importance to the basis of Technology , Students with a solid foundation are in favor of highlighting the encirclement in the first two rounds .

Technical width : Mainly concentrated on high concurrency 、 Multithreading 、 Distributed architecture , Large and common middleware ( Cache, etc ) Selection and comparison of .

Technical principles go deep : The point is to be prepared in advance JVM、 Multithreading and high concurrency .

Summary of the projects involved : You need to be clear about the key details of your project 、 Optimize 、 characteristic 、 principle .

A lot of third-party libraries used & The principle of middleware , Even if you don't know , Also have your own ideas about how to replace the implementation , For example, an alternative to single sign on .

Last , Don't fall on HR Interview session , It's the key to avoid the heavy , Especially the advantages and disadvantages , If asked what your plan is , Please remember to tell HR You want to be an excellent technologist !

Share some of my personal learning resources , Friends in need of free access at the end of the article :

Java Interview core knowledge points principle article arrangement

Java Development 1—2 Year foundation :JVM piece

This article mainly talks about JVM principle , involve JVM Operating mechanism 、JVM Memory model 、 Common garbage collection algorithms and JVM Class loading mechanism and so on .

1—2 year Java An engineer will :Java The basic chapter

This introduction Java Basic knowledge of , Involving sets 、 Exception classification and handling 、 Reflection 、 annotation 、 Inner class 、 Generics and serialization .

Java Development 2—3 Senior engineer :Java Concurrent programming

This article is about explaining Java Concurrent programming knowledge , involve Java Working principle and application of multithreading 、Java Working principle and application of thread pool , And locks 、 Process scheduling algorithm and so on .

Java The data structure that must be asked in the interview : Data structure

This article explains the knowledge of data structure , It's about stacks 、 queue 、 Linked list 、 Hash table 、 Binary tree 、 Red and black trees 、 Pictures and bitmaps, etc .

3—4 year Java Architects must ask : Common algorithms

This introduction Java Common algorithms in , It's about binary search 、 Bubble sort 、 Insertion sort 、 Quick sort 、 Shell Sort 、 Merge sort 、 Bucket sort 、 Algorithms such as Radix sorting .

5 year Java The architect interview must ask the network bottom layer : Network and load balancing

This article explains the principle of network and load balancing , involve TCP/IP、 HTTP、 Common load balancing algorithms and LVS Principle, etc .

Java Architect advanced : Database and distributed transaction

This article explains the principles of database and distributed transaction , Database storage engine involved 、 Database concurrent operations and locks 、 Database distributed transaction and so on .

Java A senior architect must have : Principle and application of distributed cache

This article explains the principle and application of distributed cache , About distributed cache 、Ehcache Principle and Application 、Redis Principle and Application 、 The core issues of distributed cache design .

Design patterns

This article explains design patterns , Involving common 23 A classic design pattern .

This note is true of Java Summary of necessary knowledge points for programmer interview , Explained in detail JVM principle 、 Multithreading 、 Data structures and algorithms 、 Distributed cache 、 Design pattern and other interview necessary knowledge , Don't be sloppy when explaining , Strive to simplify .

This note can be used as a treasure of interview surprise , It's going to work wonders !

100% Free access : Like this article + Pay attention to me , Sweep the code for !

 

The real questions of interview in large factories are arranged

Shenzhen - tencent -Java senior

Hangzhou - The ant gold dress -Java senior

Hangzhou - The ant gold dress - Senior Engineer

Shanghai - A lot of spelling -Java senior

Shenzhen - Fengchao technology -Java senior

100% Free access : Like this article + Pay attention to me , Sweep the code for !

版权声明
本文为[Tianqi architecture technology sharing]所创,转载请带上原文链接,感谢

  1. 【计算机网络 12(1),尚学堂马士兵Java视频教程
  2. 【程序猿历程,史上最全的Java面试题集锦在这里
  3. 【程序猿历程(1),Javaweb视频教程百度云
  4. Notes on MySQL 45 lectures (1-7)
  5. [computer network 12 (1), Shang Xuetang Ma soldier java video tutorial
  6. The most complete collection of Java interview questions in history is here
  7. [process of program ape (1), JavaWeb video tutorial, baidu cloud
  8. Notes on MySQL 45 lectures (1-7)
  9. 精进 Spring Boot 03:Spring Boot 的配置文件和配置管理,以及用三种方式读取配置文件
  10. Refined spring boot 03: spring boot configuration files and configuration management, and reading configuration files in three ways
  11. 精进 Spring Boot 03:Spring Boot 的配置文件和配置管理,以及用三种方式读取配置文件
  12. Refined spring boot 03: spring boot configuration files and configuration management, and reading configuration files in three ways
  13. 【递归,Java传智播客笔记
  14. [recursion, Java intelligence podcast notes
  15. [adhere to painting for 386 days] the beginning of spring of 24 solar terms
  16. K8S系列第八篇(Service、EndPoints以及高可用kubeadm部署)
  17. K8s Series Part 8 (service, endpoints and high availability kubeadm deployment)
  18. 【重识 HTML (3),350道Java面试真题分享
  19. 【重识 HTML (2),Java并发编程必会的多线程你竟然还不会
  20. 【重识 HTML (1),二本Java小菜鸟4面字节跳动被秒成渣渣
  21. [re recognize HTML (3) and share 350 real Java interview questions
  22. [re recognize HTML (2). Multithreading is a must for Java Concurrent Programming. How dare you not
  23. [re recognize HTML (1), two Java rookies' 4-sided bytes beat and become slag in seconds
  24. 造轮子系列之RPC 1:如何从零开始开发RPC框架
  25. RPC 1: how to develop RPC framework from scratch
  26. 造轮子系列之RPC 1:如何从零开始开发RPC框架
  27. RPC 1: how to develop RPC framework from scratch
  28. 一次性捋清楚吧,对乱糟糟的,Spring事务扩展机制
  29. 一文彻底弄懂如何选择抽象类还是接口,连续四年百度Java岗必问面试题
  30. Redis常用命令
  31. 一双拖鞋引发的血案,狂神说Java系列笔记
  32. 一、mysql基础安装
  33. 一位程序员的独白:尽管我一生坎坷,Java框架面试基础
  34. Clear it all at once. For the messy, spring transaction extension mechanism
  35. A thorough understanding of how to choose abstract classes or interfaces, baidu Java post must ask interview questions for four consecutive years
  36. Redis common commands
  37. A pair of slippers triggered the murder, crazy God said java series notes
  38. 1、 MySQL basic installation
  39. Monologue of a programmer: despite my ups and downs in my life, Java framework is the foundation of interview
  40. 【大厂面试】三面三问Spring循环依赖,请一定要把这篇看完(建议收藏)
  41. 一线互联网企业中,springboot入门项目
  42. 一篇文带你入门SSM框架Spring开发,帮你快速拿Offer
  43. 【面试资料】Java全集、微服务、大数据、数据结构与算法、机器学习知识最全总结,283页pdf
  44. 【leetcode刷题】24.数组中重复的数字——Java版
  45. 【leetcode刷题】23.对称二叉树——Java版
  46. 【leetcode刷题】22.二叉树的中序遍历——Java版
  47. 【leetcode刷题】21.三数之和——Java版
  48. 【leetcode刷题】20.最长回文子串——Java版
  49. 【leetcode刷题】19.回文链表——Java版
  50. 【leetcode刷题】18.反转链表——Java版
  51. 【leetcode刷题】17.相交链表——Java&python版
  52. 【leetcode刷题】16.环形链表——Java版
  53. 【leetcode刷题】15.汉明距离——Java版
  54. 【leetcode刷题】14.找到所有数组中消失的数字——Java版
  55. 【leetcode刷题】13.比特位计数——Java版
  56. oracle控制用户权限命令
  57. 三年Java开发,继阿里,鲁班二期Java架构师
  58. Oracle必须要启动的服务
  59. 万字长文!深入剖析HashMap,Java基础笔试题大全带答案
  60. 一问Kafka就心慌?我却凭着这份,图灵学院vip课程百度云