I spent six months finishing the fight a lot, hungry yet, a large collection of ants gold dress and other manufacturers Java interview questions

I spent six months finishing the fight a lot, hungry yet, a large collection of ants gold dress and other manufacturers Java interview questions

java Internet Architecture 2019-06-22 10:01:00

The beginning, I sort of fight a lot, hungry yet, ants gold dress large collection of Java questions face to get a lot of readers certainly, thank you for support. In fact, the author of his own past experience interviewing, compiled a list of some of the core knowledge, trying to help the reader to better review and review Java server core technology. However, there are still some content, Xiao Bian did not update up, because I think the technology and has nothing to do, I think it is helpful to everyone. In addition, part of the intellectual author will supplement the list. So, I rearrange a [Java interview summary customs clearance points set [Ultimate Edition]], salute you.

The list has the answer with the actual content .pdf, welcome back private letter "information interview" get.

Biography articles

  • Please introduce yourself
  • Please describe the project

Basics

Basic training

  • Object-oriented features
  • The difference between final, finally, finalize the
  • What is the difference int and Integer
  • Overloading and rewrite the difference
  • Abstract classes and interfaces What is the difference
  • Use talk and reflection achieved
  • Talk about the scenes and custom annotation realization
  • The difference between GET and POST method of the HTTP request
  • session and cookie difference
  • session Distributed Processing
  • JDBC Process
  • MVC design ideas
  • The difference equals and ==

I spent six months finishing the fight a lot, hungry yet, a large collection of ants gold dress and other manufacturers Java interview questions

 

set

  • List and Set difference
  • List and Map difference
  • Arraylist and LinkedList difference
  • ArrayList and Vector difference
  • The difference between HashMap and Hashtable
  • HashSet and HashMap difference
  • The difference between HashMap and ConcurrentHashMap
  • HashMap works and code implementation
  • ConcurrentHashMap works and code implementation

I spent six months finishing the fight a lot, hungry yet, a large collection of ants gold dress and other manufacturers Java interview questions

 

Thread

  • The way to create threads and realization
  • sleep (), join (), yield () What is the difference
  • CountDownLatch talk about principle
  • Talk about the principle CyclicBarrier
  • Semaphore talk about principle
  • Talk Exchanger Principle
  • 说说 CountDownLatch 与 CyclicBarrier 区别
  • ThreadLocal 原理分析
  • 讲讲线程池的实现原理
  • 线程池的几种方式与使用场景
  • 线程的生命周期

锁机制

  • 说说线程安全问题
  • volatile 实现原理
  • synchronize 实现原理
  • synchronized 与 lock 的区别
  • CAS 乐观锁
  • ABA 问题
  • 乐观锁的业务场景及实现方式

I spent six months finishing the fight a lot, hungry yet, a large collection of ants gold dress and other manufacturers Java interview questions

 

核心篇

数据存储

  • MySQL 索引使用的注意事项
  • 说说反模式设计
  • 说说分库与分表设计
  • 分库与分表带来的分布式困境与应对之策
  • 说说 SQL 优化之道
  • MySQL 遇到的死锁问题
  • 存储引擎的 InnoDB 与 MyISAM
  • 数据库索引的原理
  • 为什么要用 B-tree
  • 聚集索引与非聚集索引的区别
  • limit 20000 加载很慢怎么解决
  • 选择合适的分布式主键方案
  • 选择合适的数据存储方案
  • ObjectId 规则
  • 聊聊 MongoDB 使用场景
  • 倒排索引
  • 聊聊 ElasticSearch 使用场景

I spent six months finishing the fight a lot, hungry yet, a large collection of ants gold dress and other manufacturers Java interview questions

 

缓存使用

  • Redis 有哪些类型
  • Redis 内部结构
  • Redis 内存淘汰机制
  • 聊聊 Redis 使用场景
  • Redis 持久化机制
  • Redis 集群方案与实现
  • Redis 为什么是单线程的
  • 缓存崩溃
  • 缓存降级
  • 使用缓存的合理性问题

I spent six months finishing the fight a lot, hungry yet, a large collection of ants gold dress and other manufacturers Java interview questions

 

I spent six months finishing the fight a lot, hungry yet, a large collection of ants gold dress and other manufacturers Java interview questions

 

消息队列

  • 消息队列的使用场景
  • 消息的重发补偿解决思路
  • 消息的幂等性解决思路(已解答,待补充)
  • 消息的堆积解决思路
  • 自己如何实现消息队列
  • 如何保证消息的有序性

I spent six months finishing the fight a lot, hungry yet, a large collection of ants gold dress and other manufacturers Java interview questions

 

框架篇

Spring

  • BeanFactory 和 ApplicationContext 有什么区别
  • Spring Bean 的生命周期
  • Spring IOC 如何实现
  • 说说 Spring AOP
  • Spring AOP 实现原理
  • 动态代理(cglib 与 JDK)
  • Spring 事务实现方式
  • Spring 事务底层原理
  • 如何自定义注解实现功能
  • Spring MVC 运行流程
  • Spring MVC 启动流程
  • Spring 的单例实现原理
  • Spring 框架中用到了哪些设计模式
  • Spring 其他产品(Srping Boot、Spring Cloud、Spring Secuirity、Spring Data、Spring AMQP 等)

I spent six months finishing the fight a lot, hungry yet, a large collection of ants gold dress and other manufacturers Java interview questions

 

I spent six months finishing the fight a lot, hungry yet, a large collection of ants gold dress and other manufacturers Java interview questions

 

Netty

  • 为什么选择 Netty
  • 说说业务中,Netty 的使用场景
  • 原生的 NIO 在 JDK 1.7 版本存在 epoll bug
  • 什么是TCP 粘包/拆包
  • TCP粘包/拆包的解决办法
  • Netty 线程模型
  • 说说 Netty 的零拷贝
  • Netty 内部执行流程
  • Netty 重连实现

微服务篇

微服务

  • 前后端分离是如何做的
  • 如何解决跨域
  • 微服务哪些框架
  • 你怎么理解 RPC 框架
  • 说说 RPC 的实现原理
  • 说说 Dubbo 的实现原理
  • 你怎么理解 RESTful
  • 说说如何设计一个良好的 API
  • 如何理解 RESTful API 的幂等性
  • 如何保证接口的幂等性
  • 说说 CAP 定理、 BASE 理论
  • 怎么考虑数据一致性问题
  • 说说最终一致性的实现方案
  • 你怎么看待微服务
  • 微服务与 SOA 的区别
  • 如何拆分服务
  • 微服务如何进行数据库管理
  • 如何应对微服务的链式调用异常
  • 对于快速追踪与定位问题
  • 微服务的安全

I spent six months finishing the fight a lot, hungry yet, a large collection of ants gold dress and other manufacturers Java interview questions

 

分布式

  • 谈谈业务中使用分布式的场景
  • Session 分布式方案
  • 分布式锁的场景
  • 分布是锁的实现方案
  • 分布式事务
  • 集群与负载均衡的算法与实现
  • 说说分库与分表设计
  • 分库与分表带来的分布式困境与应对之策

I spent six months finishing the fight a lot, hungry yet, a large collection of ants gold dress and other manufacturers Java interview questions

 

I spent six months finishing the fight a lot, hungry yet, a large collection of ants gold dress and other manufacturers Java interview questions

 

安全问题

  • 安全要素与 STRIDE 威胁
  • 防范常见的 Web 攻击
  • 服务端通信安全攻防
  • HTTPS 原理剖析
  • HTTPS 降级攻击
  • 授权与认证
  • 基于角色的访问控制
  • 基于数据的访问控制

性能优化

  • 性能指标有哪些
  • 如何发现性能瓶颈
  • 性能调优的常见手段
  • 说说你在项目中如何进行性能调优

工程篇

需求分析

  • 你如何对需求原型进行理解和拆分
  • 说说你对功能性需求的理解
  • 说说你对非功能性需求的理解
  • 你针对产品提出哪些交互和改进意见
  • 你如何理解用户痛点

设计能力

  • 说说你在项目中使用过的 UML 图
  • 你如何考虑组件化
  • 你如何考虑服务化
  • 你如何进行领域建模
  • 你如何划分领域边界
  • 说说你项目中的领域建模
  • 说说概要设计

设计模式

  • 你项目中有使用哪些设计模式
  • 说说常用开源框架中设计模式使用分析
  • 说说你对设计原则的理解
  • Design 23 design patterns
  • Similarities and differences between design patterns, such as the difference between strategy pattern and mode of state
  • The bond between the design patterns, such as the practice of strategy mode + simple factory pattern
  • Performance design patterns, such as better performance which singleton.

I spent six months finishing the fight a lot, hungry yet, a large collection of ants gold dress and other manufacturers Java interview questions

 

I spent six months finishing the fight a lot, hungry yet, a large collection of ants gold dress and other manufacturers Java interview questions

 

Business Engineering

  • How to end the separation before and after your system is doing
  • Tell me about your development process
  • You and your team how to communicate
  • How do you code review
  • Talk about your understanding of technology and business
  • Exception talk about you often encounter in the project
  • Tell me what you feel in the project meet the most difficult Bug, how to solve
  • Tell me about your encounter difficulties in the deepest impression in the project, how to solve
  • Where else do you think you lack project
  • Have you encountered CPU 100%, how to troubleshoot and solve
  • Have you encountered memory OOM, how to troubleshoot and solve
  • Tell me about your practice of agile development
  • Tell me about your practice on the development of operation and maintenance
  • Introduced to the work of one of the most valuable items of their own, as well as roles in this process

Soft power

  • Tell me about your highlights
  • Talk about what books you recently read
  • Tell me what you think the most significant technical books
  • Thinking of someone to talk about aspects of the development direction
  • Tell me what you think of the service-side development engineers, which should have the ability to
  • Tell me what you think of what kind of architect, architect mainly to do
  • Technical experts talk about what you understand

HR articles

  • Why did you leave the company before
  • Why are you into our company
  • Talk about career planning
  • How do you feel about working overtime issue
  • A failure to talk about your experience
  • What do you think is your greatest strength is
  • What do you think is your greatest weakness
  • What you do in his spare time
  • Why do you think you are qualified for this position
  • You feel that the most urgent need to improve aspects of capacity
  • You come to our company's most wanted what
  • What do you hope to get from this job
  • What is your understanding of the position you are seeking now
  • Anything else you want to ask
  • How do you see your career
  • Talk about your family situation
  • Do you have any hobbies
  • How long you plan to work in the company

Guess you like

Origin blog.csdn.net/u013322876/article/details/93393203