Home > Backend Development > PHP Problem > What skills do you need to master for 15k PHP?

What skills do you need to master for 15k PHP?

王林
Release: 2023-02-28 15:00:01
Original
3198 people have browsed it

What skills do you need to master for 15k PHP?

1. Linux

In addition to regular operations and performance monitoring and tracking, you can also use many advanced and complex commands to complete work under Linux (watch/tcpdump/starce / ldd/ar, etc.);

In terms of shell scripts, I have been able to write relatively complex shell scripts (more than 500 lines) to assist in completing many shells including backup, automated processing, monitoring, etc.;

Have become proficient in applications such as awk/sed/perl, and can freely operate, control, process, and process text statistics and analyze data in various complex formats;

Have some understanding of the internal mechanisms of Linux, and can load kernel modules. There is basic processing of startup error handling, etc.; at the same time, I also understand some other related things, such as NFS, disk management, etc.

2. Nginx

You can consider focusing on in-depth study of the working principle of Nginx, mainly starting from reading the source code, such as the specific master/worker working mechanism, Nginx internal event processing, Memory management, etc.;

At the same time, you can learn the development of Nginx extensions and customize some of your own private extensions; at the same time, you can have a certain degree of understanding of Nginx Lua and see if you can combine and apply it to create a better model.

3. MySQL/MongoDB

In terms of MySQL applications, in addition to the previous basic SQL optimization, it can also complete some complex operations, such as the import and export of large batches of data, and online large batches of data. High-risk operations such as changing the table structure or adding or deleting index fields;

In addition to installation and configuration, it has been able to handle more complex MySQL problems, such as tracing various problems, solving master-slave synchronization delay problems, and cross- Computer room synchronization data scheme, MySQL high-availability architecture, etc. are all involved and understood;

is familiar with the MySQL application level and the core key technologies of MySQL, such as transaction mechanisms (isolation levels, locks, etc.), triggers, Have a certain understanding and application of partitioning and other technologies.

4. Redis/Memcached

Because Memcached is not particularly complicated, it is recommended to read the source code, especially the memory management part, to facilitate in-depth understanding;

Redis part, you can Do more applications of complex data structures (zset is used for ranking ranking operations/transaction processing to ensure atomicity in flash sale scenario applications); more learning applications involving synchronization mechanisms such as aof, design a high-level Available Redis application architectures and clusters.

5. PHP

In terms of basic code application, it can solve 95% of the problems encountered in PHP development and understand most of the PHP skills; it can handle most of the PHP frameworks. Get started quickly within one day, and understand the advantages and disadvantages of each mainstream PHP framework, which can quickly facilitate technology selection in project development;

In terms of configuration, understand some relatively unconventional configuration options (php auto_prepend_file/ auto_append_file), including some complex advanced configurations and principles in extensions.

Have a good understanding of the working mechanism of php, including the working mechanism of php-fpm (such as the calculation and principle of php-fpm starting the number of processes under different configuration machines), and have a basic familiarity with the zend engine (vm/gc/stream Processing), have read the basic PHP kernel source code (or read related articles), have an understanding of the implementation of most core data structures (basic types/Array/Object) of PHP's internal mechanisms, and have knowledge of the core infrastructure (zval/hashtable/gc ) have in-depth study and understanding.

6. C/C

Be able to have a deeper understanding of the C/C language and be able to complete the development of small and medium-sized C/C systems; in addition to the basic foundation of the second stage C/C syntax and data structure, you can also learn some special data structures (b-tree/rb-tree/skiplist/lsm-tree/trie-tree, etc.) to facilitate your needs in special work;

In the system In terms of programming, be familiar with multi-process and multi-thread programming; understand most of the communication methods between multi-processes in multi-process situations, and be able to flexibly choose communication methods (shared memory/semaphore/pipeline, etc.);

Multi-threading Programming can solve lock conflict problems well, and be able to develop and debug multi-threaded programs; at the same time, you are familiar with network programming, understand the differences and selections of multi-process models/multi-thread models/asynchronous network IO models, and be familiar with different asynchronous networks The principles and differences of IO models (select/poll/epoll/iocp, etc.), and familiar with common asynchronous frameworks (ACE/ICE /libev/libevent/libuv/Boost.ASIO, etc.) and their uses. If you have free time, you can also take a look at some domestic products Self-developed libraries (such as muduo);

can also design high-concurrency program architecture (leader-follow/master-worker, etc.); understand most of the problems in C/C back-end server development (memory Management, log printing, high concurrency, front-end and back-end communication protocols, service monitoring), and know the RPC communication issues of each back-end service (struct/http/thirft/protobuf, etc.).

7. Front-end

In-depth understanding of the HTTP protocol (including the special protocol codes of each detailed protocol and the reasons behind it, such as 302 static files are cached, 502 means that php behind nginx is down, etc.); In addition to the previous front-end aspects of various framework application integration capabilities.

Recommended tutorial: PHP tutorial

The above is the detailed content of What skills do you need to master for 15k PHP?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template