preface
jingdong
The interview content,
One side
-
Talk about Memory management in Java
-
Talk about how to locate the problem if the server GC frequently?
-
Talk about the Spring
-
Talk about the difference between synchronized and lock
-
What’s the difference between a String, a StringBuffer, and a StringBuilder?
-
What is thread safety
Second interview
- What is the difference between Redis and MySQL?
- Persistent types of Redis
- Redis does cache, how to extend? What if there are only two hotspots in the cache?
See: Java– Cache hotspot data, least recently used algorithm
- Types of Maven repositories
- At the JVM level, the process of creating and reclaiming objects
- Memory is mainly divided into which areas, where the attributes of the class are placed
- Application scenarios of message queues
- What is the difference between point-to-point and publish-subscribe in message queues?
For details, see the difference between point-to-point and publish-subscribe in message queues
- How does a message queue ensure that messages are consumed properly
- Design a second kill system, how to ensure that users see the real-time inventory situation?
- How can Quartz avoid repeating tasks in distributed scenarios?
- Design a Map that guarantees that when the set() method is called, an exception will be thrown if the Key already exists, and that the method is thread-safe.
- What questions should you consider when designing a site with a large number of visitors?
- How many timeouts can HTTP have?
- What are the cross-domain solutions?
- What attributes do you consider when choosing a server?
Update time
Release date: August 27, 2018