Often interview some candidates, organized the next interview I use the topic, the land continues to organize out a lot of topics, so each will draw part to ask. The answer will be published gradually in later articles.
Basic topics
- The state of the Java thread
- Differences between processes and threads, how interprocess communicates, and how threads communicate with each other
- What is the data structure of HashMap? How it is implemented. The difference between the Hashtable,concurrenthashmap and the
- The difference between a cookie and a session
- What's the use of indexes? How do I build an index?
- How is ArrayList implemented, the difference between ArrayList and LinkedList? ArrayList how to achieve capacity expansion.
- The Equals method implements
- Object oriented
- Thread state, what's the difference between blocked and waiting
- How the JVM loads bytecode files
- JVM GC,GC algorithm.
- What happens when the full GC is present, and what happens to the Yong GC.
- JVM Memory model
- Java Runtime Data area
- How transactions are implemented
Technical depth
- Have you seen the JDK source code, see the class implementation principle is what.
- HTTP protocol
- TCP protocol
- Consistent hash algorithm
- How the JVM loads bytecode files
- How the ClassLoader unloads bytecode
- The difference between IO and NIO, NIO benefits
- Java thread Pool Implementation principle, KeepAliveTime parameters such as the role.
- HTTP connection Pooling Implementation principle
- Database connection pooling Implementation principles
- How the database is implemented
Technical framework
- See what open source framework of source code
- What are the pros and cons of using Redis,redis? How does redis achieve capacity expansion?
- Netty is how to use the thread pool, why use it so
- What are the pros and cons of using spring,spring?
- Spring's IOC container initialization process
- Spring's IOC container implementation principle, why beans can be found through byname and Bytype
- Spring AOP Implementation Principles
- How the message middleware is implemented, and what are the technical difficulties
System architecture
- How to build a highly available system
- Which design patterns can increase the scalability of the system
- Introduces design patterns such as template mode, command mode, policy mode, adapter mode, bridging mode, decoration mode, observer mode, state mode, visitor mode.
- Abstract ability, how to improve the efficiency of research and development.
- What is high cohesion low coupling, please give examples of how to achieve
- What situation with the interface, what condition with the message
- If AB two systems depend on each other, how to release dependencies
- How to write a design document, what is a directory
- What scenarios should be split system, what scenario should merge system
- What is the difference between the system and the module, and what scenarios are used
Distributed Systems
- Distributed transactions, two-phase commit.
- How to implement a distributed lock
- How to implement distributed session
- How to guarantee the consistency of messages
- Load Balancing
- Forward proxy (client proxy) and reverse proxy (server-side proxy)
- CDN Implementation Principle
- How to improve the system's QPS and throughput
Actual combat capability
- Have you dealt with the problem on the line? There is a memory leak, a CPU utilization level, and how the application is handled without responding.
- Have you encountered any technical problems in the development? How to solve the
- If there is a billions of whitelist, high concurrent queries are required daily during the day and need to be updated at night to design this feature.
- How Sina Weibo is enabling Twitter to Subscribers
- How Google returns the search results to the user within a second.
- 12306 how the booking system of the website is implemented, how to ensure that no ticket is not oversold.
- How to implement a second kill system, to ensure that only a few users can buy a product.
Soft power
- How to learn a new technology, such as how to learn Java, focus on learning what
- What new technologies are in focus
- How to deal with a lot of work tasks and very miscellaneous
- How Project Latency is handled
- It's not the same as my colleagues ' design ideas.
- How to ensure the quality of development
- What is career planning? Short term, what is the long term goal
- What is the planning of the team?
- To introduce myself from work to the present and grow there
Java face questions you should know