Meituan Senior Java Interview Questions – First, Second, and Third Rounds

This article compiles a comprehensive set of senior Java interview questions used by Meituan, covering concurrency utilities, synchronization, design patterns, JVM memory management, Spring IoC/AOP, database indexing, distributed systems, and more to help candidates prepare effectively.

Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Meituan Senior Java Interview Questions – First, Second, and Third Rounds

We have continuously updated dozens of BAT interview questions, and in response to user requests we are now publishing the latest senior Java interview questions from Meituan (and soon from Toutiao as well).

Meituan Senior Java – First Round

Which packages under java.util.concurrent have you used?

Explain the functionality of CountDownLatch.

Differences between synchronized and Lock, and re‑entrant locks.

Differences between Thread and Runnable.

Implementation principle of AtomicInteger (CAS spin).

Differences among sleep, wait, notify, and notifyAll in Java concurrency.

How to implement an efficient synchronized linked list.

Various locking mechanisms in Java (synchronized, ReentrantLock, shared lock, read‑write lock, etc.).

Common design patterns (Factory, Singleton, Adapter, Decorator).

Maven dependency tree, transitive dependencies, and circular dependencies.

Meituan Senior Java – Second Round

Differences between synchronized and ReentrantLock; what locks are used for code blocks, methods, and static methods?

Introduce Spring IoC and AOP and how they are implemented (classloader, dynamic proxy).

Explain JVM memory layout, garbage collection principles, CMS collector workflow, and its drawbacks.

How Redis handles inconsistency caused by concurrent access in distributed servers.

Mechanism of OSGi.

Spring bean loading process, detailed steps of bean creation, and IoC injection methods.

When does Spring create the ApplicationContext?

Which event does a listener monitor?

Explain the principle of ConcurrentHashMap, the type of lock it uses, and whether the segment size can increase.

Explain MySQL indexes and B‑tree structure, and why balanced binary trees or red‑black trees are not used.

How Zookeeper synchronizes configuration.

Meituan Senior Java – Third Round

Parameters of ThreadPoolExecutor, basic settings, and usage scenarios.

Explain MySQL ACID properties and extend to isolation levels.

Implementation principle of Dubbo and key points of RPC.

Reasons for GC pauses and how to reduce them.

How to tune the JVM and adjust its parameters.

Tools for analyzing JVM state (VisualVM for heap analysis, jstack for thread dumps, etc.).

Describe the consistent‑hash algorithm (Redis).

How to avoid distributed system avalanche scenarios.

Design principles of Kafka.

For more BAT interview questions and answers (reference only), reply with “直通BAT”.

Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

BackendJavaJVMconcurrencyspringinterview
Mike Chen's Internet Architecture
Written by

Mike Chen's Internet Architecture

Over ten years of BAT architecture experience, shared generously!

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.