10 content recommendations for performance tuning

Source: Internet
Author: User
Tags apc zend
The performance of a network application is affected by many factors. Database access, file system operations, network bandwidth, and so on are all potential factors. YII has reduced the performance impact of the framework in all aspects. However, there are still many areas in the user's application that can be improved to improve performance. 1. Turning on APC extensions enabling PHP APC extensions can be the simplest way to improve the overall performance of an application. This extension caches and optimizes PHP intermediate code and avoids the time spent parsing PHP scripts for each new request. 2. Disabling debug mode Disabling debug mode is another easy way to improve performance. If the constant yii_debug is set to True, the YII application will run in debug mode. Debugging mode is useful in the development phase, but it affects performance because some components cause additional overhead. For example, the information logger (the message logger) will record additional debugging information for the information being logged. 3. Use yiilite.php when enabling PHP APC

1. Yii Framework Official Guide Series 52--topic: Performance Tuning

Summary: The performance of a network application is affected by many factors. Database access, file system operations, network bandwidth, and so on are all potential factors. Yii has reduced the performance impact of the framework in all aspects. But in the user's application there are still a lot of ...

2. Performance optimization of PHP optimization performance tuning and optimization adjustment to optimize performance how to optimize the computer sex

Description: Performance optimization, PHP: Optimization of the performance of PHP: I. Language performance optimization 1. Use the AB tool under Apache for performance testing: ab-n100-c100 https://www.baidu.com/(Request 100 times, Concurrency is 100) focus on two volumes: Requests per second (number of requests per second) and time per request (average response times) 2. Try to use PHP built-in variables, constants, functions, Reason: PHP code needs to go through the Zend Engine to scan into Zend to recognize the syntax, and then be solved

3. Performance Tuning Related

Introduction: 2 database servers, one instance per server, one instance has one library, 2 databases fail each other, and the maximum memory is set to 50% of physical memory, but due to the increase in load caused by the memory shortage problem: In the previous 2000, the database does not respond to the system's memory pressure, So only set 50% to ensure memory balance is used, but

4. Sun will introduce new APIs to tune MySQL performance

Profile: according to Ldquo; Java's father rdquo; James Gosling revealed that Sun will not introduce a new API (application programming Interface) for MySQL database, but it is likely that the M

5. MongoDB Index and Query Analyzer-dex

Summary: Dex introduces MongoDB index and Query Analyzer Dex, a MongoDB performance tuning tool that compares MongoDB log files and index entries and gives index recommendations. Currently, you must provide a URI that connects to the database. Dex only suggests a full index, not a partial index. The Windows platform is not supported. Dex works by Dex in the process of running the main

6. Step through MySQL database Performance tuning

Summary: The speed of an insert query: The time to insert a record is made up of the following: Connection: (3) Send query to server: (2) Analysis query: (2) Insert record: (1 x record size) Insert index: (1 x index) Close: (+) The number here is somewhat proportional to the overall time. This does not take into account the initial cost of opening the table (which is done once for each concurrently running query).

7. Details of SQL Server DBA work

Summary: In a Microsoft SQL Server 2008 system, the database administrator, or DBA, is the most important role in the administration. The DBA's goal is to ensure that the Microsoft SQL Server 2008 system runs properly and efficiently. The DBA's work is also the busiest job, whether it's performance tuning or disaster recovery, without the DBA's support. So so

8. Sun wants to make performance adjustments to MySQL

Summary: According to the "Father of Java" James Gosling revealed that Sun will not introduce a new API (application programming Interface) for MySQL database, but it is very likely to do more work on MySQL tuning. On Sun's technology day in Sydney, Gosling said many tools now use JDBC to connect to the database, using APIs to enable SQL statements to execute, which

9.15 Useful MYSQL/MARIADB performance tuning and optimization tips

Introduction: This article will show you some basic, but very useful tips on how to optimize MYSQL/MARIADB performance. Note that this article assumes that you have installed MySQL or Maria

Ten. SQL Server database What does DBA do exactly???

Summary: In a Microsoft SQL Server 2008 system, the database administrator, or DBA, is the most important role in the administration. The DBA's goal is to ensure that the Microsoft SQL Server 2008 system runs properly and efficiently. The DBA's work is also the busiest job, whether it's performance tuning or disaster recovery, without the DBA's support

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.