Keeping alive to realize LVS load balancing high availability cluster

1. The preserved software is used to manage and monitor the status of each service node in LVS cluster system in the early stage; 2. In the later stage, VRRP is added to realize high availability. Therefore, it can provide high availability for lvs load balancing and other services.. Experiment image: Centos 8.1.1911 Sketch: (to be filled) 1. ...

Posted on Thu, 04 Jun 2020 09:01:04 -0700 by hailam

PHP version Google Advertising admob server callback verification SSV

Old article, just moved here. Because the business needs to access Google's incentive advertising, it involves the server-side verification (SSV) of Google callback. Python version is based on the third-party package ecdsa out of the box. PHP version also has an ecdsa library, but it is too complex. Think of the openssl rsa key signature chec ...

Posted on Fri, 22 May 2020 08:28:09 -0700 by leena

Deploy the Rasa framework to the Kubernetes cluster and allocate GPU resources

Rasa is a conversational AI framework for creating context based intelligent voice assistants. In this section, let's see how to deploy it to k8s cluster and try its own model. I am a T-type person Xiaofu, an Internet practitioner who insists on lifelong learning. Like my blog, welcome to pay attention ...

Posted on Thu, 21 May 2020 03:52:53 -0700 by moallam

The implementation of flash restful API and the basic permission control based on flash httpauth

This series of tutorials is divided into four stages 1.flask restful web service 2.flask restful api 3. Flash httpauth realizes authority control 4.uwsgi management flask application   In the previous article, we introduced and studied the related content of implementing restful web services with flash. On this basis, we will develop and study ...

Posted on Thu, 14 May 2020 01:56:03 -0700 by ChibiGuy

Using mongodb exporter + Prometheus + grafana to implement mongodb cluster monitoring

1 create Mongodb cluster Directly use the following yaml file to create a mongodb cluster. In this environment, only two nodes of mongodb are started. Use hostPath for data storage and create storage directory [root@master ~]# mkdir -p /home/storage/mongo/db/ [root@master mongo]# cat mongo.yaml apiVersion: v1 kind: Service metadata: name: mo ...

Posted on Fri, 08 May 2020 07:40:46 -0700 by Neoraven456

statefulset stateful cluster deployment for k8s

pod resources in k8s are divided into stateful (data type container) and stateless (service type container). Data storage in k8s generally mounts storage volumes with volumes. In multi-node cluster mode, the best solution is to provide a storage system (storage system selection conditions: remote access, multi-threaded read and write, etc.), n ...

Posted on Mon, 04 May 2020 12:17:43 -0700 by php_guy

Use acme.sh to automatically update https certificate on a regular basis

https.png About let's encrypt and acme.sh Let's Encrypt is a free, automated, and open Certificate Authority. acme.sh implements acme protocol and can generate free certificate from let's encrypt Installation, using acme.sh Installation command curl https://get.acme.sh | sh Generate ssl certificate I use the webroot method. For ...

Posted on Mon, 04 May 2020 11:54:04 -0700 by carydean

Speculation fund lost, grab data out....

Ah ~ ~ I didn't want to take some dead wages and go to buy funds, but I lost money all the time. After work, I was going to do some data research. As a result, the interface provided by XXX platform still received money, but I had to go to other websites to ask for it . (interested friends leave email to design an inve ...

Posted on Mon, 04 May 2020 06:47:30 -0700 by ruraldev

News crawler based on php, inserted into WordPress database

This reptile has been writing for a long time. It hasn't updated its blog for a long time. 1. The first idea is: you can easily and quickly grab the web page through the curl Φ setopt() function of php. 2. What kind of news attracts people? Of course, hot news. Here choose Baidu's search billboard to get a list of hot keywords. 3. For th ...

Posted on Sun, 03 May 2020 06:30:08 -0700 by bigscanner

LNMP Architecture - Nginx load balancing

The principle of load balancing is agent, only by setting up multiple proxy servers to achieve multi-user access load balancing. At the same time, when a proxy server cannot be accessed, it can switch to another proxy server, so as to achieve the purpose of uninterrupted access. Configure load balancing 1. Use ...

Posted on Sun, 03 May 2020 03:20:45 -0700 by CodeMama