The second surface 2019 Ali Lynx Java team of senior engineers face questions

1. What is the basic structure of Tomcat?

https://blog.csdn.net/xlgen157387/article/details/79006434

What 2.InnoDB four kinds of transaction isolation level? What is the difference between them is?

http://www.cnblogs.com/huanongying/p/7021555.html
3. affairs talk about MySQL slow query features and analysis?

⑴ atomicity (Atomicity)

  Atomicity refers to all operations in the transaction included either all succeed, or all fail rolled back, the operator of the transaction if successful, it must be fully applied to the database if the operation fails it can not have any impact on the database.

⑵ consistency (Consistency)

  Consistency means that the transaction must transform the database from one consistent state to another consistent state, that is to say before and after a transaction execution and implementation must be in a consistent state.

  Take transfers, if both user A and user B money add up to a total of 5,000, no matter how transfers between A and B, turn several accounts, after the end of the transaction the money add up to two users should have 5000, which is transactional consistency.

⑶ isolation (Isolation)

  Isolation when a plurality of users concurrent access to the database, such as when operating with a table, a database for each user transaction open, operation not being disturbed by other transactions, for isolation between a plurality of concurrent transactions.

  That is, to achieve such an effect: for any two concurrent transactions T1 and T2, T1 appears in the transaction, T2 or T1 has ended before the start, or started after the end of T1, so each transaction does not feel there are other matters to performing concurrently.

  About the transaction isolation provides a variety of database isolation levels, you will be introduced to later.

⑷ persistent (Durability)

  Persistence means that once a transaction is committed, then changes to the data in the database is permanent, commit the transaction will not be lost even in the case of a database system experienced a failure of the operation.

  For example we use JDBC database operations, after the transaction is committed method, the user is prompted transaction is complete, when we complete the program execution until prompted, you can identify and correct the transaction submitted, even if this time the database there is a problem, it must To complete the full implementation of our business, otherwise it will cause us to see the prompt completion of the transaction, but because of the failure of major database without executing a transaction error.

4. What are the common MySQL optimization methods?

https://www.jisec.com/application-development/798.html
5. Http request process, DNS resolution process?

https://www.cnblogs.com/geaozhang/p/7010353.html
6. three-way handshake and the four-way handshake process?

https://www.jianshu.com/p/bd31d3b23725
7. The difference between the B + tree index and Hash index?
https://blog.csdn.net/u013967628/article/details/84305511

https://www.cnblogs.com/lixiaolun/p/5058304.html
8. the Spring IOC how to manage the dependencies between Bean, how to avoid circular dependencies?

https://www.jianshu.com/p/f0c005c7354b
9. SpringBean creation process design patterns?

https://blog.csdn.net/caoxiaohong1005/article/details/80039656

Face questions from other sites, the copyright belongs to the original author

Guess you like

Origin www.cnblogs.com/xiaoyangjia/p/10698322.html