Learn how to use Gunicorn, a web server for Python applications, to host Flask-based APIs. Discover how Gunicorn uses pre-forking to handle requests faster and how to customize server configurations using command line flags. Follow this step-by-step guide to set up Gunicorn with Nginx and deploy a simple Flask app. Don’t forget to check out the example config file for Gunicorn to fine-tune performance and logging settings.

Here is the general layout we use keepalived to make sure the application is accessible in case of a failure keepalived uses VRRP ( Virtual Router Redundancy Protocol) to advertise a virtual IP from either the primary server or the secondary.  Both servers as you see from the diagram have their own IP but on top of that have a virtual IP they will use depending on their state. The user will connect to the virtual IP instead of the server IP so in the case of a failure, the user would not know they have switched servers. We use MariaDB replication to ensure that the databases are the same on both servers.

As of cacti, 1.x cacti support remote polling which allows you to have multiple servers act as pollers the remote pollers send the data to the main server that holds the graphs
this is a great solution for load balancing as well as the ability to have local pollers at remote locations to help with things like latency metrics.

Hey Everyone Just wanted to share some of my latest work  I have developed an interactive install wizard for Cacti written in BASH this script is currently written for Debian based systems but I am working on others Some of the main features are -download either chosen or latest version of cacti -autoconfigure database either

New Cacti install wizard Bash script on my GITHUBRead More »