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.flask Httpauth to realize authority control 4.uwsgi Manage flask applications  In the first two articles, we have studied the development and implementation of basic web services and restful api. After the implementation of interface develop ...

Posted on Thu, 14 May 2020 02:22:01 -0700 by Javizy

What exactly is the Bloom filter? It's clear from this lecture

I don't know when it started, but the original obscure Bloom filter got a big reputation. In the interview, the interviewer asked how to avoid cache penetration. Your first reaction might be the Bloom filter. Cache penetration = Bloom filter became the standard match, but it's not clear what Bloom filter is and how to use it. Let's talk about ...

Posted on Wed, 13 May 2020 09:59:45 -0700 by broann

Element UI of [javascript] vuejs and iframe to realize page Jump

Generally, the background interface has three parts: top navigation, left navigation and right main interface. Click the left and top navigation to display different interfaces in the right main interface Most of the back-end interfaces are nested in iframe, which can be easily used based on vue   The html part is as follows: It is mainly to bi ...

Posted on Wed, 13 May 2020 09:58:05 -0700 by ljzxtww

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

Mybatis - Generator tutorial

abstract Mybatis generator can help us automatically generate a lot of structured code, such as Entity, Mapper interface and Xml file corresponding to each table, which can save a lot of tedious work. preparation 1. Add plug-in dependency in pom file: <!-- mybatis generator Auto generate code plug-in --> <plugin> <groupId&gt ...

Posted on Mon, 11 May 2020 09:40:55 -0700 by robinjohn

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

Design a general log audit scheme

1. Demand 1. Record detailed log information with the least code and without changing the business logic code 2. Support log output in file form or database storage, and switch flexibly through configuration file. 2. Implementation To achieve this, annotation and aop must be used to intercept and record logs, so as to minimize changes to b ...

Posted on Sun, 10 May 2020 07:46:16 -0700 by azul85

Example Summary of Oracle Knowledge Points

Article Directory Oracle Knowledge Points Tablespaces, users, roles Tablespace Getting relationships between tablespaces and data files View data block size Query information about tables owned by the current user, accessible tables, and all tables in the current database Query information for all tables ...

Posted on Sun, 10 May 2020 00:00:11 -0700 by sheila

ES[7.6.x] addition, deletion and modification of learning note data

In the previous sections, we learned index, field mapping, analyzer, etc., which are the basis of using ES, just like creating tables in database. After the basic work is done, we will really use it. In this section, we will see how to write data, modify data, and delete data into index. As for search, the main function of ES is to Search, so w ...

Posted on Sat, 09 May 2020 02:18:55 -0700 by sargus