/images/avatar.png

wxpy+Turing robot WeChat chat robot -- with source code

1 Background I saw a lot of friends using WeChat to play chatbots, and they can reply automatically. They look pretty decent, and I feel itchy. I also want to make a chatbot by myself. The initial idea is to be able to send “Good morning” to my girlfriend on a regular basis every day “News, push the weather of the day, introduce a Turing robot that can automatically reply to your girlfriend’s message, and try to answer as level as possible.

Operation and maintenance automation -- Ansible

1. Operation and maintenance automation application scenarios OS preparation automation Batch OS deployment to hosts. PXE Configuration automation Perform batch configuration on hosts or batch configuration on host applications. Ansible, saltstack, puppet. Ansible, using the ssh protocol, works out of the box. Saltstack requires the cooperation of the agent side, and the configuration and deployment are fast. Puppet, an old-fashioned configuration automation tool, requires the cooperation of agents. Improve configuration efficiency and reduce manual involvement.

Linux problem location and performance optimization

1.1 Average Load and CPU Utilization These two are usually key indicators to measure the current performance of the system, but you can’t just study one and give up the other, you need to view and analyze the two together. Average load: Refers to the operating status of the system and the number of processes in the uninterruptible status per unit time. ***CPU usage: It refers to the usage of CPU, which is also our common understanding.

Prometheus + Grafana

1. Background introduction 1.1 Prometheus The Chinese is Prometheus, just by hearing the name, I feel very fanciful, and it is a very powerful thing. Let me talk about the story of Prometheus, he is a figure in the myth of Athens, the legend is that he fabricated the human form, and Athena gave each human form a soul. Zeus forbids humans to use fire. Seeing that humans are in distress, this buddy stole fire from Apollo, so he offended Zeus.

Nginx Practice

1. Purpose This summary is to review the related operations of adding practical Nginx. Including three major features of Nginx: load balancing, reverse proxy and dynamic and static separation. Finally, use Nginx to simulate a high-availability scenario to deepen your understanding of Nginx. 2. Basic concepts 2.1 Nginx description Nginx is a reverse proxy web server for http, which performs well in concurrency and can withstand up to 50,000 concurrency. So it is also favored by many companies.

Detailed explanation of HTTP

This summary may not cover all HTTP knowledge points, but it is just based on my own understanding, and then combined with online information to summarize. 1. What is HTTP HTTP (hypertext transport protocol), is the hypertext transfer protocol, text can be understood as characters, text, audio and video, etc. Hypertext is not a simple text file, but a more complex mixture of various files. In fact, it is very easy to understand.