[Mock Interview 2020-03-02] [Answer TBC]

Java language advanced features

Spring Bean injection process

What are the new features of java8 and what are they good at

New features

Optimization: performance comparison

Concurrent programming

Principles of Synchronized and Lock's underlying implementation, level (JDK, JVM)

How are synchronized lock methods, lock object headers, and lock code blocks implemented

Synchronized lock upgrade process

Introduction to CAS: Compare and Exchange

Practical application of optimistic lock: Spin operation affects efficiency. Use pessimistic locking in high concurrency scenarios

JVM tuning

The basic steps of tuning

Online CPU 100% troubleshooting steps

linux command example

MySQL

Query optimization

Index type

Why use B+ tree for index instead of B-tree, balanced binary tree, red-black tree

MyISAM、INNODB

How many indexes can be built up to a table: 16

Redis

Cache middleware, technology selection considerations

The reason why redis is fast

How to achieve high data availability, will the data be lost if the server is powered off: RDB, AOF

redis cluster: sentinel

Cache breakdown and cache penetration

Basic framework

Spring advantages: AOP, IOC

Distributed framework: dubbo call link, service exposure, monitor, service start

Design Patterns

In addition to singletons and factories

project

Guaranteed idempotence

Distributed locks: Redis, ZK

Reasons for frequent departures

career planning

Is there anything to ask the interviewer?

Interview skills

  • First meet the small company to warm up literacy, and then go to the target company

Question source: [Ao Bing] Today I interviewed a 25K Java programmer for the company, and see what questions I asked him

Guess you like

Origin blog.csdn.net/yxz8102/article/details/108240482