Seeing that there are many, in summary, it is more suitable for PHPer with certain experience
- Which php books and blogs do you usually like? CSDN, tiger sniffing, cloud hunting
- What is a js closure, don’t understand the prototype chain?
- Which is faster, for or foreach?
- Who is php bird brother? Can you talk about the principle of php execution?
- What are the php accelerators? apc, xcache..... Can you talk about its acceleration principle and what is the difference between it and the current O+?
- Can Node.js completely replace php+apache?
- How to judge whether a value exists in the array? in_array(), array_key_exists which one is better
- How to determine whether an index is used in a select statement? Use of explain, etc.
- Does sphinx's Chinese word segmentation library use a third-party library or do I build my own library?
- What are the differences between mysql and mysqli?
- The future direction of development? Security, or data mining, big data processing?
- Object-oriented php: class modifiers, encapsulation, inheritance, polymorphism, etc.
- PHP design patterns: 23 kinds of singleton pattern, factory pattern, producer pattern...etc.
- Server status code: 200, 202, 301, 404, 500...
- What is the difference between i++ and ++i++ and ++i?
- Project development: Persistence of shopping cart data in e-commerce projects, security considerations of the examination system,
- Basics of mysql design: What are the three paradigms, functions -> mind maps, and the first field of the created table?
- mysql field char, varchar, int, smallint, tinyint, mediumint, bigint, decimal, double, float bytes and application scenarios
- What are the mysql data types? How much storage space do they occupy?
- mysql index principle and sql performance optimization
- What are the usage scenarios of memcache, mongoDB, and Redis?
- Why does mongoDB and Redis not form a competition but a complementary relationship?
- What are the Redis data types? int, string, hash, set, list?
- When installing linux software, use make mode or yum mode?
- Linux network optimization, how to check the process, how to check the maximum number of open files?
- What should I do if I want to push a meager post to 1 million fans?
- What algorithms do you know? Bubble Sort? Quick sort? Binary search method?
- The advantages of yii thinkphp ci
- What are the php design patterns?
- What is the virtual function in C language?
- What are the C sorting algorithms?
- What is the basic structure of php?
- Distributed design of memcache magent?
- What is php's memory recycling mechanism?
- Hash collision occurred in PHP at the end of 2011. The principle of hash collision is how to fix it?
- What is the interpretation process of a php file? What are the general accelerations of php? What technologies will be used to improve the overall performance of php?
- How to design redis distributed design?
- What is the mongo cluster architecture?
- What is the tcp/ip network protocol, osi7 layer?
- php handles big data business
- Linux application, load performance view?
- Nginx is set to cache js, css, pictures and other information. What is the implementation principle of caching?
- What are the nginx load balancing? If one of the servers goes down, how to implement the alarm mechanism?
- Does nginx actually optimize business functions?
- Talk about your proud work in the past three years?
- Looking at the resume, I will ask about the number of users, PV, throughput, related difficulties and solutions for some projects we have done in the past.
- Database design experience, why do you sub-table? Sub-database?
- Generally, how much data volume starts to split tables? Database splitting? The purpose of database splitting tables? What is vertical database splitting? Horizontal splitting? Partitioning, etc.? Can give an example
- What are the database optimizations? What do you need to pay attention to?
- What caches will you encounter in web development? How to optimize them?
- Give you 256M of memory and sort 10G files (1 number per line of the file). How to achieve this?
- How to search for 10G files?
- How to count the number of occurrences of each keyword in a 10G file?
- If you are now a designer of 12306 train bookings, how do you design to satisfy people all over the country?
- If there are 100 million user visits, what is your server architecture? How to design user information storage solutions?
- If you are the technical team leader and the team task progress cannot be completed, how can you solve it?
- If you insert a task when the schedule is full, how can you ensure that the total schedule is not delayed?
- If some engineers have not completed their scheduled tasks today, how can you solve them?
- From your experience, talk about how to build a high-performance web site? What steps are needed? Steps? What should be paid attention to in each step, how to optimize, etc.?
- Why do we need to separate the database from master and slave?
- How to deal with multi-server sharing session?
- For a 10G table, you use the php program to count the number of times a certain field appears. What is your idea?
- Will tell you an example of nginx log, use your best programming language to count the top 10 URLs whose http response time exceeds 1 second?
- Give you a mysql configuration file and parse the file in the programming language you think is the best?
- Give you two paths a and b, write an algorithm or idea to calculate the difference between a and b and show the intersection of a and b?
- Give you a url, configure rewrite in nginx to specify a specific path?
- What is the difference between the life cycle of a session and a cookie? The difference in storage location?
- What is the difference between require, include, require_once, and include_once? What is the difference between loading? If the program loads a certain php file on demand, how do you achieve it?
- Chrome is called multi-threaded, so what is the difference between multi-threading and multi-process?
- How to improve the cache hit rate? How to granulate the cache?
- What are the insecure factors of the web? How to prevent them respectively?
- If two singly linked lists intersect, write an optimal algorithm to calculate the position of the intersection.
- If you are the technical team leader? How to improve team efficiency?
- Without optimization, the general maximum number of connections for apache is? The general maximum number of connections for nginx is? mysql insert per second? select? update? delete?
- All my questions have been asked (of course there are not so many), do you have any questions for me?
Reference: https://cloud.tencent.com/developer/article/1056123 PHPer common interview questions in 3-5 years-Cloud + Community-Tencent Cloud