Concurrency - Newbie PHP Questions

WBOY
Release: 2016-08-04 09:19:23
Original
1271 people have browsed it

I don’t have much contact with PHP. Now I need to build a PHP backend to provide APP request data
The number of visits is about 100,000 users per day, and the number of concurrent users is about 10,000. The basic mountain is just for data display, and another statistical function (after successful payment) )
I would like to ask
Can the general ngnix + mysql + memcached
be able to withstand it? Or what should be done to deal with it more reasonably

I would like to humbly ask you for some advice

Reply content:

I don’t have much contact with PHP. Now I need to build a PHP backend to provide APP request data

The number of visits is about 100,000 users per day, and the number of concurrent users is about 10,000. The basic mountain is just for data display, and another statistical function (after successful payment) )
I would like to ask
Can the general ngnix + mysql + memcached
be able to withstand it? Or what should be done to deal with it more reasonably

I humbly ask for some advice from all the experts

1000 concurrent API interfaces. If the data is displayed, there should be more queries.

Recommendations:

1. Use memcache to cache API data in large quantities to reduce the pressure on the MySQL database.
2. MySQL recommends separation of reading and writing.
3. Use the stress testing tool to test the performance of the interface before going online.

Why not use redis

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