6. app architecture basics; 6. app Architecture

Source: Internet
Author: User

6. app architecture basics; 6. app Architecture

The app architecture is a name that sounds high. Many friends are confused when they hear this word. What is the architecture? In the q group, the question "How should the app backend architecture be" has been asked countless times. By reading this article, I will help you step into the architecture based on a general architecture design framework.

In Baidu encyclopedia, the architecture is defined as: website architecture, which is generally considered to be based on the analysis results of customer needs, to accurately locate the target website group and set the overall website architecture, plan and Design website columns and their content, and formulate the website development process and sequence to maximize the design of efficient resource allocation and management.

Looking at the above analysis, it is estimated that many new users will be confused.

Based on my 5 years of Internet development experience, to help beginners get started quickly, I have extracted a general architecture design framework:


1. What services are there?

2. What problems have you encountered?

3. Are there any feasible technical solutions?



What are the advantages of having mastered the above architecture design framework?


(1) do not be confused by others' architecture articles


When someone else's architecture is shared on the internet, apply the framework of this architecture and ask themselves the three questions: What business logic is the author talking about and what problems are encountered, which technical solutions are used. This framework helps you quickly extract the core points of others' architectures and master the essence of these architectures.


(2) quickly organize the appropriate architecture


When designing the app architecture, you can use the following four points to design the app architecture:


1. According to the app design, sort out the app's business processes and list each business process.

2. sort out the problems encountered in each Business Process

3. Discuss feasible technical solutions based on the issues

4. Integrate all the technical solutions in step 3 into an app architecture.


In addition, we can see from the framework of the architecture that the architecture design has the following features:


(1) The architecture is closely related to the business


Each app has its own business logic, and the problems it encounters will not be the same, the solutions are different, so the architecture is also different.

I am often asked on qq: "What is the price for app backend? "Eldest brother, I don't know your business logic, I don't know what problems you will encounter, how do you know what technical solutions you need, and the architecture cannot be discussed at all.


(2) The evolution of architecture is driven by business


When the app is in different stages of development, the architecture also needs to be changed.

For example, to verify the user's token, when there are no users at the beginning, you may be able to directly use simple SQL query statements. However, as the user grows, the pressure on the server increases, the query speed is getting slower and slower, and it may need to be migrated to nosql for verification.

But at the same time, we need to consider a problem. If the architecture is unreasonable at the early stage, it is very difficult to change the architecture because of the business development. however, in the early stage, a good architecture may delay the backend R & D progress and delay the entire app installation time. In this case, we have to face huge capital and time pressure. How can we solve this problem, all of you have to think carefully.


(3) architecture is not designed to show off Technology


The architecture is designed to meet business needs. technicians should not design it too much. They have learned a bunch of the latest and most dazzling technologies and put them into the architecture, rather than based on actual needs.

Technology exists to satisfy the business needs. Over-design not only delays the entire app R & D cycle, but may also cause a lot of unnecessary trouble for O & M.


Summary:

As the app grows, the background architecture also needs to grow. Technical staff also need to keep up with this growth pace.


Bytes ---------------------------------------------------------------------------------------------------------------------------

Open the General Directory of the back-end articles of the linked app series to view all the original "app back-end" articles published by me.


【Author】 Zeng jiansheng

[QQ] 190678908
[QQ Group] 254659220
[Public Account] appbackend
[Sina Weibo] @ newjueqi
Blog http://blog.csdn.net/newjueqi

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.