Performance-Tuning NGINX Open Source and NGINX Plus

แชร์
ฝัง
  • เผยแพร่เมื่อ 29 ธ.ค. 2024

ความคิดเห็น •

  • @manjeetsinghchauhan4917
    @manjeetsinghchauhan4917 5 ปีที่แล้ว +3

    Hello Amir,
    I am trying to tune my Nginx to handle one million requests per second. I had a Linux box (Ubuntu) have 2 core and 4GB RAM. I installed the Nginx and test the load through Jmeter, this default configuration is handling the 15k per second. I tried the below steps to increase the request capacity but nothing improved. Please suggest what can I do to increase the request capacity.
    1. Vertically scale up the server to 4 core and 8GB RAM
    2. Increased worker_processes 4
    3. Increased worker_connections to 2048
    4. access_log off.
    How to make sure that load is distributing on all the workers?

    • @shsja996
      @shsja996 2 ปีที่แล้ว

      first question is why you need 1 million request per second ? earth has a population of less than 7 billion people. are they all coming to your site everyday? why i asked this question ? i can see from your question that you dont know the server side stuff, webserver is not a place for you to play around, you may know cms editing please play on the cms.