Code on-line PHP

Source: Internet
Author: User
Green Shore Network Code on-line

Directory

Green Shore Network Code on-line ... 1

SME project on-line program ... 1

Small business on-line solution ... 1

Midsize enterprise Code-on-line solution ... 2

Datang Telecom Case ... 3

Sina case ... 4

Suitable for the current situation on-line program ... 5

SME project on-line plan

Small business on-line solution

1 release fast, timely, anytime, anywhere you can publish code

2 The code released by the developer is not tested by the tester, and the user's access to the page refresh is changed, it may also cause the refresh of the program in the update, not access, the experience of the site is poor, if the development of the wrong code, the impact is even greater, this is to take the user as a test on-line program

3 According to statistics, the site about more than 50% of the fault and Development Program code related (such as: the development of a wrong loop of code, resulting in a dead loop, at this time a large number of users access to the program, will be able to drain the server resources, to kill the server)

4 in small and medium-sized company website problems are generally operational personnel issues (such as site downtime) but in this case, most of the problems may be caused by developers or code. The better strategy here is the idea of developing a project responsibility system.

1 developers must be in the personal computer set lamp environment test to develop good site code, and in the office or IDC Room test environment passed, preferably a full-time testers.

2 program code on-line time, for example: three days on-line, such as the site frequently updated daily 17 o'clock in the afternoon on-line, this look at the nature of the website business, the principle is to affect the minimum user experience

3 Code on-line before the backup, the site program in addition to the problem of convenient fallback, in addition, from the tips, upload the code as far as possible to the server site temporary directory, pass the complete after a step MV past, or through ln to do soft connection.

4 must be managed by operators on-line, for the functionality of the code, developers are more concerned about the performance of the Code and service stability, operations more concerned about, therefore, if the site outage problems attributed to the operation of the pipe, it is necessary to let the operation and maintenance of the line more normative science. Otherwise, the development of random updates, out of the problem of operation and maintenance of responsibility, operations can never rise.

Midsize enterprise Code-on-line scenario

Datang Telecom Case

Departmental independent accounting.

Development Department to lease operations and Maintenance Department server, hardware facilities, application settings, monitoring settings, operation and maintenance is responsible for monitoring. Apply downtime to everyone in each department to deal with.

Operation and maintenance is responsible for the bottom building, migration.

On-line and other daily operations, each group of people responsible.

Sina case

Suitable for current situation on-line solution

Online Process Text Description:

The first step: estimate the time of this month, the Mail has the development of the responsible for the test group operation and Maintenance Group

Step two: Developer code into the test environment

The third step: test group access testing, whether to achieve the function to achieve the interface concurrency tolerance-success, into the fifth step

Fourth step: Return to redevelopment

Fifth step: operation and maintenance Access, determine the update site Url,rsync migration. SQL Audit

Sixth step: Test personnel enter, test the pre-launch environment is consistent with the test environment

Seventh Step: Developer submits code to SVN, explaining path address and version

Eighth Step: Operations personnel, audit their path address SQL is consistent with the pre-launch phase

Nineth Step: Regular Drag to the production environment. Due to PHP business, the implementation of Gray line is difficult to implement batch changes

Tenth step: Test personnel, waiting for the completion of the line, the final test and check? There are problems in operation and engraved back--? today do not operate, the next day on-line. --the result of e-mail

  • Related Article

    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.