Lepus Monitoring Database
This post is a reference Lepus Official Documentation The official documentation was detailed, but some download links failed (maintainers of this open source product are busy, so updates are not timely) and the use of lepus was documented for their own writing style, so this post appeared.
The Lepus system features are as follows:
Remote mo ...
Posted by thelinx on Sat, 29 Feb 2020 08:17:26 -0800
CentOS 7 deployment million pv projects (high availability Architecture)
PV introduction
PV (Page View) is the number of clicks. Generally speaking, PV is the main indicator to measure a network news channel or website or even a network news. PV's explanation is as follows: a visitor looks at several pages of the website in 24 hours (0:00-23:00). It should be noted that the same person browsing the same page of th ...
Posted by mars16 on Tue, 25 Feb 2020 02:44:51 -0800
[architect] cache breakdown - recurrence, principle, analysis, solution
Table of contents structure of this article
Scenario description
Using code replication to solve the problem step by step
Repetition problem
Thinking about expanding problems
Scenario description
A product line is too laggy around January (end users 5W or so). When a customer manager feedback to ...
Posted by kaen on Tue, 25 Feb 2020 00:10:34 -0800
A global unique id algorithm of 1 million generated per second by self-study
background
The System tps is 3000, distributed deployment is adopted, and the business order number needs to be globally unique, such as order number. There are many common distributed global id schemes on the Internet, including the following:
UUID
redis atomic self increasing
zookeeper node directo ...
Posted by Bleej on Sun, 23 Feb 2020 02:06:09 -0800
How is Seesion used in C + + server?
How is Seesion used in C + + server?
The two mechanisms of cookie and session are introduced and used in the official account (CPP background server public view), but it seems that we seldom encounter in the C++ background development process.
How is session used in our server?
First, let's look ...
Posted by neveriwas on Sat, 22 Feb 2020 20:09:54 -0800
Flink notes: Flink data saving redis (custom Redis Sink)
This paper mainly introduces the process that Flink reads Kafka data and sinks (Sink) data to Redis in real time. Through the following link: Flink official documents , we know that the fault tolerance mechanism for saving data to Redis is at least once. So we use idempotent operation and the principle ...
Posted by quak on Wed, 19 Feb 2020 20:38:23 -0800
Data type of redis
Article directory
Data type of redis
1: String:
1.1 add a key:
1.2 get the content of a key:
1.3 view the type of a key
1.4 set the automatic key expiration time
1.5 delete a key
1.6 batch setting multiple key s:
1.7 additional data
1.8 numerical increment
1.9 numerical decrement
1.10 return strin ...
Posted by russthebarber on Sat, 15 Feb 2020 22:22:10 -0800
Using spring boot + mybatis + RabbitMQ + redis to simulate the second kill function of the mall
Using spring boot + mybatis + RabbitMQ + redis to simulate the second kill function of the mall
First, we need to install RabbitMQ. Before installing RabbitMQ, we need to install Erlang, because RabbitMQ is based on Erlang. For specific steps, click the following link:
After installation, RabbitMQ i ...
Posted by newjsguy on Tue, 11 Feb 2020 01:49:52 -0800
Spring security failed to properly catch UsernameNotFoundException exception
Preface
In Web application development, security has always been a very important aspect. In the huge spring ecosystem, the authority verification framework is also very perfect. Among them, spring security is very easy to use. Today, I'd like to record a spring security related problem encountered in development.
Problem description
When using ...
Posted by V-Man on Mon, 10 Feb 2020 08:07:01 -0800
How to build Redis cluster?
Article directory
Preface
I. environment
1.1: Environment
1.2: purpose of the experiment
2: Experimental process
2.1: deployment of Redis from master-slave server
2.2: master-slave server configuration file modification
2.3: install rvm and RUBY control cluster software on the main server
2.4: th ...
Posted by minou on Fri, 07 Feb 2020 23:20:53 -0800