Performance-Tuning NGINX Open Source and NGINX Plus

Поделиться
HTML-код
  • Опубликовано: 1 окт 2024

Комментарии • 4

  • @manjeetsinghchauhan4917
    @manjeetsinghchauhan4917 5 лет назад +2

    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.