Tag:redis

  • General KEY for Introduction to Command Grammar

    Time:2019-8-24

    Basic commands select num The default database selection is 16 [0 to 15] databases, and the default database selection is 0 automatically. move key num Move key to num server del key [key …] Delete one or more keys given. exists key Check whether a given key exists. expire key Integer value sets the life […]

  • Laravel’s Resolution Based on redis Queue

    Time:2019-8-24

    Last-Modified: May 10, 2019, 15:04:22 Reference link Knowledge that Laravel Queue has to understand Laravel Queue Document Redis Chinese Documents The environment of this article Laravel 5.5 Queue Redis Why use queues The purpose of using queues is generally: Asynchronous execution Error Retry Explain: Asynchronous executionPart of code execution is time-consuming. In order to improve […]

  • An Example of Redis Method for Implementing Distributed Locks and Waiting Sequences

    Time:2019-8-24

    In a cluster, resource contention and concurrency problems often occur because of simultaneous processing, but we all know that synchronized, cas, ReentrankLock locks are JVM, which is useless in a cluster. At this time, we need to be able to decide the order of execution among multiple JVMs. Now distributed locks are mainly implemented by […]

  • Redis data type

    Time:2019-8-23

    Introduction to Redis Redis is a very fast non-relational database, which can store mappings between keys and five different types of values. It can persist key-value pairs stored in memory to hard disk, use replication features to expand read performance, and use client fragmentation to expand write performance. FragmentationFragmentation is a method of dividing data […]

  • Reasons and principles of redis single thread fast

    Time:2019-8-23

    Redis’s fast execution depends mainly on the following reasons: (1) Pure memory operation, avoid a large number of access to the database, reduce direct access to disk data, redis will store data in memory, read and write data will not be restricted by the speed of hard disk I/O, so fast; (2) Single-threaded operation avoids […]

  • Using Redis Technology to Accelerate WordPress Website in URLOS

    Time:2019-8-22

    Quick! Quick! Quick! We all know that the loading speed of the website directly affects the user experience. According to the research, it is the best browsing experience for users to load the website pages in 3 seconds. If this time is exceeded, the probability of users jumping out of the website will be very […]

  • Detailed Usage of Redis Protocol

    Time:2019-8-22

    Preface We have used many redis clients. Have we ever had a redis client of our own? In fact, it is very simple, based on socket, listen to port 6379, parse the data. Redis protocol The process of parsing data relies mainly on redis protocol. Let’s write a simple example to look at the redis […]

  • [redis topic (9)]

    Time:2019-8-21

    [info] It’s not necessary to know only, but also to solve the atomic problem through lua. Redis supports simple transactions because it does not support rollbacks (rollbacks are simulated by queues), which are different from MySQL in the following ways type mysql redis open start transaction muitl Sentence Ordinary SQL Ordinary orders fail Rollback rollback […]

  • (15) Constructing Spring mvc+mybatis+dubbo Distributed Platform-Windows Installing Dubbo Control Console

    Time:2019-8-21

    In the last article, we introduced “Building Dubbo Distributed Platform – Installing Dubbo Control Console in Windows”. Considering that our development environment is on Windows, in order to deploy and run conveniently, today we will briefly introduce how to install Dubbo Control Console in Windows. The open source part of the Dubbo management console mainly […]

  • Detail redis port number

    Time:2019-8-21

    The default port number for redis is 6379. REmote DIctionary Server (Redis) is a key-value storage system written by Salvatore Sanfilippo. Redis is an open source log-based, key-value database written in ANSI C, complied with BSD protocol, supported network, memory-based and persistent, and provides APIs in multiple languages. It is often referred to as a […]

  • Recommend some PHP and back-end related technology blogs

    Time:2019-8-20

    Link to the original text: He Xiaodong Blog No matter which one you think of and which one you write, there are other integrated technology communities like SegementFault and Nuggets, which are often haunted by big guys. Technological blog should be only the condiment of technological career, and the core should be solid foundation and […]

  • Redis Application-Current Limitation

    Time:2019-8-20

    Series of articles Redis Application-Distributed Lock Redis application – asynchronous message queue and delay queue Redis Application-Bitmap Redis Application-HyperLogLog Redis Application-Bloom Filter Redis Application-Current Limitation Redis Application-Geo In high concurrency scenarios, there are three sharp weapon protection systems: caching, degrading, and current limiting. The purpose of caching is to speed up system access and increase […]