Redis practice - data structure List practice 1: orderly storage of commodity information

Overview: the related content of this series of blog articles comes from the actual combat course recorded by debug in person: Introduction to Redis technology and application scenario practice (SpringBoot2.x + red packet system design and practice) , interested partners can click to learn by themselves (after all, mastering technology in the ...

Added by The.Pr0fess0r on Fri, 07 Feb 2020 13:42:45 +0200

Configuration and Failure Recovery of Redis Cluster

colony Redis still holds all the data in the cluster in master-slave replication mode, which limits the total data storage of the cluster to the server with the smallest memory. Additionally, scaling out Redis horizontally is cumbersome, and client fragmentation is often used to solve this problem, with the client deciding which node each key ...

Added by jkarr on Wed, 05 Feb 2020 02:48:30 +0200

Redis: del/unlink command source code analysis

Redis (4): del/unlink command source code analysis Let's take a look at the deletion process in this article. For the client, the delete operation does not need to distinguish which data type, just del operation. Zero, delete definition of del command There are mainly two: del/unlink. The difference is that unlink is faster because it uses asyn ...

Added by Yamakazi on Sun, 02 Feb 2020 13:43:58 +0200

Zabbix Monitoring PHP-FPM, Tomcat, Redis Application Practice Cases

1. Zabbix Monitoring PHP-FPM Application Nginx+PHP-FPM is the most popular LMP architecture at present. Under the system based on PHP development, monitoring the performance of these systems mainly focuses on the running status of PHP-FPM. So what is PHP-FPM?PHP-FPM is a PHP FastCGI manager, which provides a better way to manage PHP processes. ...

Added by trecool999 on Sat, 01 Feb 2020 19:34:32 +0200

Docker swarm single node mode

Before reading this article, make sure that you have properly containerized a machine and can deploy the container using docker compose. If not, refer to Layout document. There are two kinds of nodes in a swarm cluster, manager node and worker node. A containerized machine (either physical or virtual) ...

Added by jbdphp on Mon, 27 Jan 2020 07:56:53 +0200

Java seckill system-2.7-jedis redis.clients.jedis.exceptions.jedisconnectionexception: problem solving

 1. application.properties #thymeleaf spring.thymeleaf.prefix=classpath:/templates/ spring.thymeleaf.suffix=.html spring.thymeleaf.cache=false spring.thymeleaf.content-type=text/html spring.thymeleaf.enabled=true spring.thymeleaf.encoding=UTF-8 spring.thymeleaf.mode=HTML5 # mybatis mybatis.type-ali ...

Added by flhtc on Sun, 26 Jan 2020 16:53:35 +0200

[code Chapter] build your own golang framework step by step from scratch

The last article mentioned that the configuration and log have been initialized, and then the database and redis have been initialized. Initialize database I choose xorm for database orm. First, add the corresponding database configuration in config.json and config.go.config.json: "db_config": { "db_host": "127.0.0.1", "db_port": "33 ...

Added by kendallkamikaze on Wed, 22 Jan 2020 17:44:42 +0200

Spring boot integration -- Cache (Redis)

Abstract: Time flies quickly, and I'm about to usher in a brand-new and hopeful 2020, which is also the representative of my brand-new start in the new year. I will ask myself to meet a brand-new year with the highest expectation. As procedural apes, we will take performance, safety, concise code as the ...

Added by robert.access on Tue, 14 Jan 2020 04:06:49 +0200

Data interface development of Django

Nowadays, more and more web projects use front-end and back-end separation, which realizes the decoupling of data and interface. They interact through network API.   API - Application Programming Interface REST introduction   REST has nothing to do with technology and represents only one arc ...

Added by pazzy on Sun, 12 Jan 2020 09:34:32 +0200

Spring boot2.x and redis reduce integrated operation redis cluster case

scene After a machine crashes in the redis cluster, the redis of the background service will always report an error and cannot connect to the redis cluster. View the redis cluster through the command. It is found that the redis cluster cluster is normal. The standby slave machine has been upgraded to master. Conjecture and verification It is pr ...

Added by wudiemperor on Wed, 08 Jan 2020 16:38:18 +0200