Welcome to Centmin Mod Community
Register Now

Centminmod requests and feedback

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

  1. pamamolf

    pamamolf Premium Member Premium Member

    4,087
    428
    83
    May 31, 2014
    Ratings:
    +834
    Local Time:
    5:27 AM
    Nginx-1.25.x
    MariaDB 10.3.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

    54,909
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,811
    Local Time:
    1:27 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    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. rdan

    rdan Well-Known Member

    5,447
    1,408
    113
    May 25, 2014
    Ratings:
    +2,201
    Local Time:
    11:27 AM
    Mainline
    10.2
    How is this thing possible @eva2000 ?
    Even RPM based update needs restart.
     
  4. eva2000

    eva2000 Administrator Staff Member

    54,909
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,811
    Local Time:
    1:27 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  5. rdan

    rdan Well-Known Member

    5,447
    1,408
    113
    May 25, 2014
    Ratings:
    +2,201
    Local Time:
    11:27 AM
    Mainline
    10.2
    But only possible for NGinx not for Mariadb and PHP?
     
  6. eva2000

    eva2000 Administrator Staff Member

    54,909
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,811
    Local Time:
    1:27 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    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. rdan

    rdan Well-Known Member

    5,447
    1,408
    113
    May 25, 2014
    Ratings:
    +2,201
    Local Time:
    11:27 AM
    Mainline
    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

    54,909
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,811
    Local Time:
    1:27 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    yup unfortunately it can be the case
     
  9. pamamolf

    pamamolf Premium Member Premium Member

    4,087
    428
    83
    May 31, 2014
    Ratings:
    +834
    Local Time:
    5:27 AM
    Nginx-1.25.x
    MariaDB 10.3.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. rdan

    rdan Well-Known Member

    5,447
    1,408
    113
    May 25, 2014
    Ratings:
    +2,201
    Local Time:
    11:27 AM
    Mainline
    10.2
    But it will not caused you a downtime.
    Your site will continue to work during that time.