php + redis + lua implements a simple sender--Implementation Chapter

Next to the last article php + redis + lua to implement a simple emitter (1) -- Principle Chapter This article talks about the implementation of the emitter. 1. Basic knowledge The implementation of the emitter mainly uses the following knowledge points: 1. Operations and evaluation of bit operations in PHP 2. Basic Concepts of Computer Primiti ...

Posted by sudhakararaog on Sat, 18 May 2019 07:55:37 -0700

docker making process of mindoc online document interface system

Note: Mindoc is an online interface document editing system, Baidu will know it in a moment.GitHub address: https://github.com/lifei6671/mindoc Native machine: ubuntu16.04 + dockerCE2017.12 + mysql5.7 + git2.7.4 Since mirroring with dockerfile requires jumping to the Goldang.org website, you know it.I built it using a foreign VPS 1 git clone co ...

Posted by tHud on Fri, 17 May 2019 21:31:59 -0700

Spring Extreme Speed Integrated Annotation redis Practice

Redis serves as a memory-based Key-Value database and has a high cost-effective performance as a cache server. The official Java-oriented Client Jedis provides many interfaces and methods for Java operations to use Redis. The Spring team encapsulated Jedis independently as a spring-data-redis project, cooperating with spring ...

Posted by shadowq on Fri, 17 May 2019 20:41:44 -0700

Configure docker for the project

I've known about docker before, but I haven't configured it myself. This time I configure a docker for the project, and make a summary record here. Dockerfile and docker-compose First of all, in previous projects, docker is configured in the form of DockerFile + docker-compose. So, first of all, we need to understand the relationship between th ...

Posted by vicky57t on Fri, 17 May 2019 18:11:03 -0700

GEO Usage of Redis Advanced Data Structure

demand How to implement a "accessory person" or a nearby "store" function? requirement analysis It can be done based on the database, given a coordinate, with this coordinate as the radius r, j uses sql to select the elements of the approximate circle for display. select id from positions where x > x0- ...

Posted by raan79 on Fri, 17 May 2019 03:42:24 -0700

Redis Source Learning Brief (7) object Principle and Personal Understanding

Redis Source Learning Brief (7) object Principle and Personal Understanding Object is an encapsulation system in redis.It encapsulates string, list, set, zset and hash as a unified object named robj.This data structure stores data of type, encoding, number of references, data an ...

Posted by djcee on Thu, 16 May 2019 09:00:24 -0700

Redis knowledge combing (20) [Stream]

Redis 5.0 was suddenly released by author Antirez, adding many new features. The biggest new feature of Redis 5.0 is the addition of a data structure Stream, which is a new powerful and persistent message queue supporting multi-cast. The author admits that Redis Stream has learned a lot from Kafka's design. The structure of Red ...

Posted by lostnucleus on Thu, 16 May 2019 05:00:55 -0700

Summary of the Second Kill Mall Project

Technology used 1. Backend: SpringBoot, JSR303, MyBatis 2. Front end: Thymeleaf, BootStrap, Jquery 3. Middleware: RabbitMQ, Redis, Druid Project building 1. Build Spring Boot 1.Add to maven <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-paren ...

Posted by gilreilly on Wed, 15 May 2019 18:15:08 -0700

Automated Operations and Maintenance Platform (Backend Pthon + django)

Django's MTV Mode Django's MTV mode is essentially the same as MVC's, but also for the sake of maintaining loosely coupled relationships among components. There are only slightly different definitions. The value of Django's MTV is: M Representation Model: Responsible for relational mapping (ORM) between business objects and databases. T sta ...

Posted by icyfire624 on Tue, 14 May 2019 05:16:08 -0700

Spring-data-redis for Redis Learning

Spring-data-redis for Redis Learning Preface Earlier, we learned the basics of Redis and how to operate Redis through Jedis in Java. At the same time, we also mentioned that Jedis's operation is too low-level, or not completely encapsulated. When we want to store an object, it's actually troublesome. So let's learn another o ...

Posted by mikep on Sat, 11 May 2019 04:28:46 -0700