MQTT protocol message broker service public network remote connection

Article directory Preface 1. Building Mosquitto on Linux 2. Install Cpolar on Linux 3. Create the MQTT service public network connection address 4. The client remotely connects to the MQTT service 5. Code calls MQTT service 6. Fixed connection TCP public network address 7. Fixed address connection test Foreword Mosquitto is an open source message […]

odoo16 front-end framework source code reading–rpc_service.js

odoo16 front-end framework source code reading–rpc_service.js Let me first introduce some background knowledge to make it easier to read the code. 1. JSONRPC specification https://www.jsonrpc.org/specification Chinese translation version: https://wiki.geekdream.com/Specification/json-rpc_2.0.html JSON-RPC is a stateless and lightweight remote procedure call (RPC) protocol. This specification mainly defines some data structures and their related processing rules. It allows running […]

Deploy spring boot as a windows service

Directory of series articles Deploy the executable jar package as a windows service Tips: It is recommended to read the previous chapter [Deploying executable jar packages as windows services] before reading this article, which will help you understand the content of this chapter more easily Article directory Table of Contents of Series Articles Preface 1. […]

nacos does service configuration and server discovery

1. Create a project 1. Create a spring-boot project 2. Create three modules: file, system, and gateway modules 3. file and system configure startup information respectively, and create a simple controller server.port=9000 spring.application.name=file server.servlet.context-path=/file 4. Introduce dependencies in the root directory <properties> <java.version>1.8</java.version> <spring-cloud.version>2021.0.8</spring-cloud.version> </properties> … <dependencyManagement> <dependencies> <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-dependencies</artifactId> <version>${spring-cloud.version}</version> <type>pom</type> <scope>import</scope> </dependency> […]

Go – User Services and Web Services

Article directory zap of go log library 1. Installation and basic use 2. Write to log file go configuration file management-viper 1 Introduction 2. yaml tutorial 3. Installation 4. Map the configuration file into a struct 5. Use Custom validator 1. Mobile phone number regular expression 2. Problems with custom translation JWT 1. What is […]

Found that the gitlab service has stopped (4)

refer to Gitlab rapid deployment and daily maintenance (community version RPM package installation)_51CTO blog_gitlab community version usage tutorial This article mainly records the operation process of troubleshooting the Gitlab service stop on Centos7 on 2023/11/9, as well as the handling of problems in the process. When connecting to the server, I found that only half […]

nginx+ffmpeg+rtsp+rtmp/http-flv streaming media service construction [full version]

nginx + ffmpeg + rtsp + rtmp/http-flv streaming media service construction [full version] Install nginx and its dependencies gcc installation yum -y install gcc gcc-c + + pcre installation #If you can’t pull it down, you can directly copy the link to the browser to download. I successfully downloaded it directly from the browser, and […]

odoo16 front-end framework source code reading – ormService.js

odoo16 front-end framework source code reading–ormService.js Path: addons\web\static\src\core\orm_service.js Briefly translate the comments in the code: ORM service is a standard method for communication between js code and python’s ORM layer. Then I talked about the instruction format of One2many and Many2many envoys. Each instruction is a 3-tuple, among which: The first parameter is a fixed […]

Kubernetes Quality of Service – QoS

Author:rab Directory Preface 1. Pods whose QoS class is Guaranteed 1.1 Overview 1.2 Case 2. Pods whose QoS class is Burstable 2.1 Overview 2.2 Case 3. Pods whose QoS class is BestEffort 3.1 Overview 3.2 Case Summarize Foreword I mentioned Kubernetes’ admission control policy earlier, but have you ever thought about a question: If the […]