Learn about Centmin Mod LEMP Stack today
Become a Member

Centminmod requests and feedback

Discussion in 'Feature Requests & Suggestions' started by pamamolf, Sep 18, 2015.

  1. pamamolf

    pamamolf Well-Known Member

    2,754
    245
    63
    May 31, 2014
    Ratings:
    +436
    Local Time:
    12:49 AM
    Nginx-1.13.x
    MariaDB 10.1.x
    Hi :)

    I want to post here what it will be great to have on Centminmod in my opinion in the next releases (i know a lot is very hard to add and maybe for a few impossible) :

    1)Nginx/Mysql/Phpfpm zero downtime update ....
    2)Backup and restore menu for domain files and database...(maybe using a deduplicated backup?)
    3)Jail root user....
    4)An amazing dashboard like the Nginx Plus one....

    As i can George start playing with Apache as backend for dynamic requests but i don't know if that will improve a lot the performance than using only Nginx ?

    Thank you :)
     
  2. eva2000

    eva2000 Administrator Staff Member

    30,546
    6,849
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,262
    Local Time:
    8:49 AM
    Nginx 1.13.x
    MariaDB 5.5
    Cheers first 3 items are something planned when/if I have the time. The last one all depends on available 3rd party Nginx modules which would allow such Nginx dashboard stats.

    As to Apache as backend for Nginx reverse proxy, that is just for folks who are unable to get Apache htaccess/mod_rewrite rules converted to Nginx rewrites. Then the only is to use Apache as backend in a Nginx reverse proxy setup or use OpenLiteSpeed as a backend. There's no performance gain for using Apache as backend in such a configuration. OpenLiteSpeed as backend there's improvements as it's LSAPI PHP handler is more performant than Nginx's PHP-FPM (which Apache 2.4 will also use same PHP-FPM).
     
  3. RoldanLT

    RoldanLT Well-Known Member

    3,930
    960
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,311
    Local Time:
    6:49 AM
    1.11
    10.2
    How is this thing possible @eva2000 ?
    Even RPM based update needs restart.
     
  4. eva2000

    eva2000 Administrator Staff Member

    30,546
    6,849
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,262
    Local Time:
    8:49 AM
    Nginx 1.13.x
    MariaDB 5.5
  5. RoldanLT

    RoldanLT Well-Known Member

    3,930
    960
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,311
    Local Time:
    6:49 AM
    1.11
    10.2
    But only possible for NGinx not for Mariadb and PHP?
     
  6. eva2000

    eva2000 Administrator Staff Member

    30,546
    6,849
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,262
    Local Time:
    8:49 AM
    Nginx 1.13.x
    MariaDB 5.5
    yeah for Nginx.. maybe PHP-FPM not sure

    Already had a test Centmin Mod branch for Nginx zero downtime upgrades for over a year :)
     
  7. RoldanLT

    RoldanLT Well-Known Member

    3,930
    960
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,311
    Local Time:
    6:49 AM
    1.11
    10.2
    Nginx restart is not a really big deal since even if you have thousands of visitors it will restart under 1 second.
    But with PHP-FPM if you have current thousands of visitors it will hang up and restart takes usually 2-3 seconds.
    Same as Mariadb if you have BIG DATA.
     
  8. eva2000

    eva2000 Administrator Staff Member

    30,546
    6,849
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,262
    Local Time:
    8:49 AM
    Nginx 1.13.x
    MariaDB 5.5
    yup unfortunately it can be the case
     
  9. pamamolf

    pamamolf Well-Known Member

    2,754
    245
    63
    May 31, 2014
    Ratings:
    +436
    Local Time:
    12:49 AM
    Nginx-1.13.x
    MariaDB 10.1.x
    Just a restart is not a problem at all but if i am not wrong there is a delay about 6 seconds in the upgrade routine o Centminmod for Nginx ....

    Code:
    NGINXUPGRADESLEEP='6'
    Code:
    Nginx zero downtime upgrades for over a year
    I hope to have this soon on the main Centminmod after an year :)

    Also if it is possible for php-fpm will be great :)

    For the backup that i recommend it will be also good to have a way/option to easy move the backup to another server and restore there :)

    Thanks !!!!!


    Also having Apache as backend for dynamin content and Nginx in front it sounds as the best scenario but i was read on many users report that is not faster but why?

    Is there a specific reason for it?
     
    Last edited: Sep 19, 2015
  10. RoldanLT

    RoldanLT Well-Known Member

    3,930
    960
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,311
    Local Time:
    6:49 AM
    1.11
    10.2
    But it will not caused you a downtime.
    Your site will continue to work during that time.
     
    • Informative Informative x 1