Ants gold dress classic technical questions: Tomcat + Redis + thread pool and lock + MQ achieve

Side: technical

1. talk about the project

2. Java is mainly done right, talk about the multi-threaded, which is used to write about

3. Write the thread and runnable, then write a thread pool thread pool consists asked which components, which thread pool, respectively, how to use, and what strategies refused.

4. When a multi-threaded deadlock occurs, write an example of it, and then I wrote a two threads, two locks, each holding a requesting another instance of deadlock.

The collections familiar with it, write a title, a collection of strings, find pdd and removed.

6. Then talk about Redis it is single-threaded or multi-threaded, distributed Redis how to do?

7.RPC understand what I say is the main protocol stack + + serialization data format, then the need for a service registry management producers and consumers.

9.TCP three-way handshake process, if there is no third way handshake is a problem.

Two faces: the main idea and asked to solve the problem

1, so that if you implement a MQ, how to ensure that messages are not lost?

2, the hard disk io will be slower, what is the solution?

3, innodb mysql index data structure Why is b + tree, it can be implemented with hash?

4, to achieve distributed transactions?

5, how to solve the redis and mysql data consistency?

6. What are the common MySQL master-slave synchronization scheme? Compared the advantages and disadvantages?

7, to talk about design ideas spike?

8, then talk about how to prevent spike oversold?

9. What do you want to ask me?

Three sides

Talk about the underlying principle HaspMap? Say it with similarities between them HaspTable and ConcurrentHashMap and differences?
Talk about the difference between jdk1.7 and 1.8?
Several built-in thread pool
MySQL transaction isolation level and MVCC mechanism
Redis cache avalanche, cache penetration and how to solve?
Distributed architecture introduces
the biggest difference in where the CMS collector and G1 collector?
There are actual JVM performance tuning experience? Key indicators of what and how to adjust the parameters to be monitored?
Java thread locks have used what? Such as optimistic locking, pessimistic locking using the difference like this?

At last

For more face questions, welcome to add QQ group: 590 918 100, into the group free to receive the following information
Ants gold dress classic technical questions: Tomcat + Redis + thread pool and lock + MQ achieve
Ants gold dress classic technical questions: Tomcat + Redis + thread pool and lock + MQ achieve

Guess you like

Origin blog.51cto.com/14207399/2432076