Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

The latest Tmall interview questions (including summary): thread pool + concurrent programming + distributed design + middleware

Shulou Source: shulou.com Published: 2022-06-02 23:26:19 09月30日 Update

One side:

HashMap implementation principle, ConcurrentHashMap implementation principle

Red and black trees, why local imbalances are allowed

The difference between TCP,UDP, why reliable and unreliable

The whole process of a HTTP request, including domain name resolution, host location, etc.

TCP three-way handshake

What is a MySQL transaction? Four characteristics, four isolation levels

The difference between ConcurrentHashMap and Hashtable

Spring IOC and AOP, and what are their advantages

What are the commonly used thread pools

Under what circumstances do you use Runnable and Thread to create threads and the difference between Runnable and Callable

How to handle the exception in the thread method, and can the secondary thread catch it?

The difference between synchronized and lock, under what circumstances synchronized and ReentrantLock are used

Which zone is the object of JVM assigned and which zone is the Class object assigned?

Two sides:

Introduction of commonly used design patterns: singleton pattern, decorator pattern, etc.

Will there be a memory overflow in Java? Under what circumstances will it happen?

Parental delegation model, why do you do this?

Under what circumstances does the object enter the old age?

Quick sort, talk about the process.

AOP implementation principle: dynamic proxy

BIO, NIO (how to implement), AIO

What are the message middleware? What are their strengths and weaknesses?

Redis, persistence framework

Stack and queue

Garbage collection algorithm

Index of MySQL

Tomcat class loader

OOM memory leak, under what circumstances will it occur and how to troubleshoot

Three sides:

Introduce your practical performance optimization cases and your optimization ideas.

The difference between micro-service and SOA, advantages and disadvantages

SQL slow query optimization scheme, index and table optimization scheme.

The difference between MySQL and MongoDB, the storage of massive data

Differences between caching frameworks, such as Redis and Memcached, advantages and disadvantages comparison

Please describe the uniform hash algorithm

What are the sharing schemes of distributed session and what are the advantages and disadvantages?

High concurrency, what are the optimization schemes of the system, and priority.

Interview summary

Tags: Situation thread disadvantage scheme principle object pattern inter-memory common use framework algorithm index allocation sorting middleware distributed consistent one side host Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Technology vpn Redmi Shulou Tech Info NVidia