Come to Dou Tu Sao Nian!
I've described the emoticon store on GitHub before, but I don't feel like there are enough emoticon stores to meet the needs of frequent fights, so I decided to mine the emoticon resources from the omnipresent Internet.
The goal of this crawl is something with an average annual salary of millions. There are questions and answers about emoticon ...
Added by perry789 on Mon, 16 Dec 2019 04:30:20 +0200
In depth understanding of the building of Redis single machine environment of Redis series
Preface
In the process of actual development projects, if we want to use cache, the first thing we think about is Redis. But why most people choose Redis is not able to understand or think about it. They only know that it can be used as cache, which is faster than the database. I happen to be such a person. So when I want to write an introduct ...
Added by craig1978 on Wed, 11 Dec 2019 17:53:23 +0200
New server building - Summary: Download nginx, jdk8, docker compose (install mysql,redis) with installation
Preface
For example, the company bought a new 4-core 16G server and had to rebuild the environment, so it had to do one by one and make a record
1.nginx: manual installation
2.jdk8: manual installation
3. Install docker and docker compose
3. Docker compose encoding, one click docker to install mysql, redis
nginx installation
Available ...
Added by elgoog on Wed, 11 Dec 2019 15:55:03 +0200
Redis 4.0.9 cluster expansion
I. Experimental Environment
1. System version: Centos 7.6 x86 64
2. Redis version 4.0.9
3. Cluster IP information
172.16.100.201 172.16.100.202 172.16.100.203
4. IP information ready to join the cluster
172.16.100.204 172.16.100.205 172.16.100.206
5, purpose
Expand the 3 primary and 3 secondary nodes of Redis cluster to 6 primary and ...
Added by kyin on Tue, 10 Dec 2019 20:29:22 +0200
redis distributed lock solves the problem of repeated execution of cluster server's scheduled tasks
Problem description
It is no problem to deploy the project with scheduled tasks on a single test environment. In production, there are two cluster servers. When the project is deployed, it is found that the module of timing task is executed on both machines at the same time, which will lead to other accidents.
Solution - redis distributed lock
...
Added by ~J~R~R on Sat, 07 Dec 2019 03:36:56 +0200
Implementation of Token authentication mechanism based on jsonwebtoken in egg
Json web token (JWT) is a JSON based development standard (RFC 7519) which is implemented for the purpose of passing statements between network application environments. The token is designed to be compact and secure, especially suitable for SSO scenarios of distributed sites. JWT declaration is generally used to transfer the authenticated user ...
Added by smalband on Tue, 03 Dec 2019 21:29:16 +0200
Spring Boot integrates Redis
Spring Boot integrates Redis
spring boot provides the spring data Redis library to integrate Redis operations, and realizes the integration with Redis through simple configuration information.
PS: individuals are still used to using Jedis to operate Redis for Java clients
Don't talk too much, just code. : -)
Maven dependence
<dependency> ...
Added by CaptainStarbuck on Tue, 03 Dec 2019 14:55:32 +0200
Deploy redis master-slave cluster and start sentinel mode
I. deployment environmentSystem: centos7The deployment of the master-slave cluster is completed by starting two different redis instances on the Linux systemyum source deployed
II. Download and install redis1. Download: download on official website2, installationCreate the / app / directory and install redis in the / app / directory
[root@liyg ...
Added by john6384 on Tue, 03 Dec 2019 06:04:29 +0200
Code use example of RDS trigger eventFormat as protobuf
Preface
Function calculation A new trigger, RDS trigger, has been released, which indicates that a new member has been added to the event source of function calculation-- Alibaba cloud Relational Database Service (RDS) According to Official documents As a supplement, this article explains the code example when eventFormat is protobuf.
protobuf ...
Added by davieboy on Mon, 02 Dec 2019 07:59:25 +0200
filebeat log collection
#(1) Download filebeathttps://artifacts.elastic.co/downloads/beats/filebeat/filebeat-5.4.0-linux-x86_64.tar.gz
#(2) build filebeat image
1) prepare the dockerfile file
# cat dockerfile
FROM docker.io/centos
WORKDIR /usr/local
COPY filebeat-5.4.0-linux-x86_64.tar.gz /usr/local
RUN cd /usr/local && \
tar xvf filebeat-5.4.0-linu ...
Added by simcoweb on Mon, 02 Dec 2019 07:22:28 +0200