search

Home  >  Q&A  >  body text

nginx - apaceh concurrency issues

Requirements: Apache, as a web server, receives REST requests. The peak concurrent request volume is 500qps, the average value is 50qps, and the time performance requirement is within 50ms.

The current problem:
The time from request initiation to program execution is about 20ms:
The average program processing time is: 6ms
The callback time is about 1ms

There is no problem in processing according to the average, but there are often some 100+ms requests, accounting for about 1%, please provide an optimized line of defense

PHP中文网PHP中文网2749 days ago687

reply all(1)I'll reply

  • PHP中文网

    PHP中文网2017-05-16 16:59:25

    This may involve your machine configuration, processing performance, bandwidth, data operations in the business, etc. If the concurrency is large, you can consider load balancing and try it

    reply
    0
  • Cancelreply