Core principle and Simulation of small program

This article will introduce the separation architecture of the logic layer of the core view layer of the applet, and simulate this dual thread model through iOS code. What is applet Applet is a new mobile application format, which depends on Web technology, but also integrates native application functions. At present, small program platforms o ...

Posted on Thu, 14 May 2020 01:57:40 -0700 by Xoid

Security design scheme of third party application obtaining data

In the actual business, it is inevitable to interact and transfer data with the third-party system, so how to ensure the security of data in the transmission process (anti stealing)? In addition to the https protocol, can we add a general set of algorithms and specifications to ensure the security of transmission?   Now let's discuss some com ...

Posted on Tue, 12 May 2020 08:17:32 -0700 by flyingeagle855

redis master slave + sentinel+VIP high availability structure

preface sentinel is a highly available program of redis. It can discover and automatically switch the configuration of redis service in the master-slave state. sentinel can also manage multiple sets of redis masters and slaves The application can be directly connected to the sentinel through a driver similar to jedis to achieve high availabili ...

Posted on Tue, 12 May 2020 02:40:18 -0700 by teanza

C#Data Operations Series - 3. ADO.NET Offline Query

0. Preface In the previous article, I deliberately left an example of a query unseen.Although you can get a DataReader from the following code: IDataReader reader = command.ExecuteReader(); Then read the data line by line through the reader, but I don't recommend it. C#does a lot of work and offers more choices for querying this high frequency ...

Posted on Mon, 11 May 2020 19:47:50 -0700 by hc

Zabbix 3.4 configure monitoring items and monitor Linux and Windows clients

This blog is no longer so verbose. Please visit the previous blog about Zabbix's working principle and overview:Centos 7 builds Zabbix 4.0 monitoring system 1, Installing Zabbix3.4 2, Visit the Web interface of zabbix 3, zabbix monitoring Linux client 4, Custom monitor 5, Custom monitoring graphics 6, Create template 7, ZABBIX agent passing p ...

Posted on Mon, 11 May 2020 00:12:14 -0700 by The.Pr0fess0r

Python monitors Linux systems

1. Monitor Linux using open source libraries In this section, we will introduce an open source project, psutil, that is widely used in Python ecology.We will then use psutil to refactor the monitor we wrote in the previous section.In addition, the process management capabilities provided by psutil are briefly described. 1. Introduction to psut ...

Posted on Fri, 08 May 2020 09:25:10 -0700 by erikjan

Java programmers must master the four basic!

Probably everyone began to use Java when they were students. We have been learning Java, but there are always some unclear concepts in Java, no matter for junior or senior programmers. Therefore, the purpose of this article is to clarify these concepts. After reading this article, you will have a deeper understanding of these concepts, and you ...

Posted on Thu, 07 May 2020 20:35:18 -0700 by MerMer

Calico Network Advancement

Total Catalog Index: K8s Network Calico From Getting Started to Abandoning Series 1. Create Services kubectl create ns advanced-policy-demo Since k8s version v1.18.2 discarded the replicas command, the nginx service was created using a yaml file vim nginx-deployment.yaml apiVersion: apps/v1 kind: Deployment metadata:   name: nginx   namespace: ...

Posted on Thu, 07 May 2020 17:14:57 -0700 by Jen_u41

Simple implementation of making Tile Map by node mapnik

The node mapnik installation process is brief. We use geojson as the data source, and we can also use other data sources. In order to simply go to point.json { "type": "FeatureCollection", "features": [{ "type": "Feature", "geometry": { "type": "Point", "coordinates": [ 113.44397, 23.094416 ] } },...] } tile.xml needed to write mapnik.map ...

Posted on Thu, 07 May 2020 10:18:39 -0700 by riespies

015. Class loading mechanism

1. Runtime data area The JVM is used to store loaded class information, constants, static variables, compiled code and other data. This is a logical partition in the virtual machine specification. The specific implementation is based on different virtual machines. For example, oracle's HotSpot is placed in the permanent generation in java7, ...

Posted on Wed, 06 May 2020 22:02:52 -0700 by reinaldo