Several issues to be addressed by the Java Web architecture

Source: Internet
Author: User

1 The choice of the overall architecture is to choose the heavyweight architecture or the Pojo lightweight architecture.

2 system modeling, is the choice of process design or object-oriented design.

Programmatic design means that the business logic layer provides only one service interface and implementation.

Object-oriented design refers to the use of domain model mode, the whole system of the overall object modeling and design.

3 How to access the database is the way to choose JDBC or use the current persistence layer framework

4 How to handle concurrent transactions, concurrent processing of short transactions, and concurrent processing of long transactions.

Concurrent processing of short transactions, there are several scenarios to choose from:

A The least used and the worst performing is the transaction level with isolation.

B Optimistic Lock pessimistic lock

5 The choice of the server is whether to choose the Tomcat level or the application server.

6 selection of connection pools.

7 How to deal with the pressure on the database

How to judge the pressure of the database on the specific table, the pressure of the table adopted what strategy to deal with?

Database pressure, is it necessary to do horizontal or vertical segmentation? Is it a hash or other strategy for a specific table?

8 How to do database load balancing

9 How to do the application load is sacrifice

Several issues to be addressed by the Java Web architecture

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.