This article only represents the understanding of the author at a certain stage.
I,Prerequisites
Recently, a friend found me and said that their company expects a web application and asked me to help them develop a topology solution for the system platform. In view of this requirement, we need to consider the problem of system load, formulate the design scheme of this article (the company's application and enterprise information cannot be established ).
The environment information is as follows:
Development languages: PhP 5.3, Object C, Java;
Database System: My SQL 5.5;
Application Platform: xxx4.0 platform.
Ii. content of this article
- System architecture and description
- Recent Implementation Scheme
- Long-term implementation plan
- Summary
Iii. system architecture and description
Based on the overall analysis of the Platform requirements, the platform topology is designed as shown in:
The design platform consists of web servers, database servers, and data storage (including storage and backup). The web servers and database servers are composed of two separate servers, which are responsible for balancing, that is, the server is responsible for the monitoring of the two servers. Based on the server performance and access conditions, the server selects the Web server or database server for service execution, use to maintain a fast response mechanism when the number of concurrent users is large. In addition, if the customer accesses the service platform through a terminal computer or mobile device, the platform will verify the security of any accessed data (through the firewall and security monitoring software ). In addition, during system operation, information exchange and data encryption may be performed with third-party payment platforms. Based on the above, the region lists its application points, including:
- Firewall;
- Encryption software;
- Anti-virus software;
- NLB support for Web servers;
- Database Server NLB support;
- Data storage;
- Data storage and backup.
However, considering its product implementation cycle and features (requiring urgent launch and considering its implementation costs), the above architecture can be implemented in two phases: short-term architecture plan and long-term architecture plan.
Iv. Short-term implementation plan
The short-term implementation plan only takes into account the preliminary business implementation, simplifies the system architecture, and provides the minimum level of service architecture support for its business implementation. The content to be implemented in this period includes:
- Firewall;
- Encryption software;
- Anti-virus software;
- NLB support for Web servers;
- Database servers (independent) require timed backup.
The specific hardware and software configuration requirements are shown in the following table:
Platform Short-Term Environment Information
Server |
Virtual Machine |
Quantity |
Server Environment |
Software Description |
Web |
Yes |
1 |
Processor: 64-bit (4-core, 2g) Ram: 8 GB Hard Disk: 200 GB |
- Ubantu 12.04 (64-bit)
- Install the PHP Runtime Environment
|
Database |
Yes |
1 |
Processor: 64-bit (4-core, 2g) Ram: 8 GB Hard Disk: 200 GB |
- Ubantu 12.04 (64-bit)
- Install My SQL 5.5 running environment
|
5. long-term implementation plan
- Firewall;
- Encryption software;
- Anti-virus software;
- NLB support for Web servers;
- Database Server NLB support;
- Data storage;
- Data storage and backup.
The specific hardware and software configuration requirements are shown in the following table:
Long-term environment information of the platform
Server |
Virtual Machine |
Quantity |
Server Environment |
Software Description |
Web |
Yes |
2 |
Processor: 64-bit (4-core, 2g) Ram: 8 GB Hard Disk: 500 GB |
- Ubantu 12.04 (64-bit)
- Install the PHP Runtime Environment
|
Database |
Yes |
2 |
Processor: 64-bit (4-core, 2g) Ram: 8 GB Hard Disk: 500 GB |
- Ubantu 12.04 (64-bit)
- Install My SQL 5.5 running environment
|
|
Vi. Summary
The system topology is designed for special systems or platforms and is for reference only.