• Two surfaceviews to achieve switching effect


    Demand:In the video call interface, there are two surfaceviews, one displays the local view and the other displays the opposite view. Due to the problem of display scale, there is always the problem of one covering the other. In order to ensure the user experience, it is required that the small view covers the large […]

  • Even if you don’t understand five core message modes of rabbitmq, you dare to say that you can use message queue!


    Springboot real e-commerce project Mall (35K + star) address: https://github.com/macrozheng/mall abstract Previous articles about the core message patterns of rabbitmq are all based on Java API. Recently, after reading the official documents, we found that these core message patterns can be implemented through spring AMQP. Therefore, this paper summarizes the practical skills of rabbitmq, including […]

  • Deploying node project to Linux server (1): creating virtual machine


    Because it’s my first time to contact with virtual machine and Linux system. From the beginning to the end, no matter creating virtual machine, configuring network, downloading mongodb, almost every step encountered problems, full of all kinds of doubts. Fortunately, I finally achieved the result I wanted. Although it’s relatively simple, it still needs to […]

  • Switching effect of tips UI NavigationBar in IOS development


    summary In IOS system, if the controller is managed by push, in fact, multiple controllers share the same navigation bar. Of course, there is nothing wrong with the design of IOS system, but domestic applications often encounter many personalized designs, such as a push to B. A may have a navigation bar, but B controller […]

  • It’s so simple for rabbitmq to implement delay message that the whole plug-in is finished!


    Springboot real e-commerce project Mall (35K + star) address: https://github.com/macrozheng/mall abstract There are two ways to delay messages in rabbitmq. One is to useDead letter queueImplementation, the other is to useDelay plug inrealization.Dead letter queueWe have talked about the implementation before. For details, please refer to “how to integrate rabbitmq to achieve delayed message”. This […]

  • Development and application of rabbitmq


    1. Introduction RabbitMQIt is a complete and reusable enterprise message system based on AMQP and written by Erlang. Support a variety of languages, including Java, python, ruby, PHP, C / C + + and so on. AMQP model AMQP: Advanced message queuing protocol, an application layer standard for unified messaging service, is an open standard […]

  • Rabbitmq publish subscribe mode to synchronize user data


    In the previous articles, we introduced how to publish a simple message through rabbitmq, then go to the work queue, multiple consumers consume, and finally go to the work queue distribution and message response mechanism (ACK); The modes we shared before are all deleted from the queue after being consumed. Ideally, they will not be […]

  • Springclub08 rabbitmq message middleware


    1、 VMware 1. Reset VMware virtual network VMware virtual network is unstable and often has problems. It can be repaired by resetting the network environment. When resetting, all virtual networks will be deleted and re createdOpen edit virtual network editor restore default settings. 2. Set NAT network segment Select VMnet8 and modify the lower left […]

  • Spring cloud10 spring boot integrates rabbitmq


    1、 Springboot integrates rabbitmq Six working modes were analyzed 1. New project 2. pom.xml <?xml version=”1.0″ encoding=”UTF-8″?> <project xmlns=”http://maven.apache.org/POM/4.0.0″ xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:schemaLocation=”http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd”> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.2.4.RELEASE</version> <relativePath/> <!– lookup parent from repository –> </parent> <groupId>cn.tedu</groupId> <artifactId>rabbitmq-springboot</artifactId> <version>0.0.1-SNAPSHOT</version> <name>rabbitmq-springboot</name> <description>Demo project for Spring Boot</description> <properties> <java.version>1.8</java.version> </properties> <dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-amqp</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-test</artifactId> […]

  • Brief introduction of JavaScript switch statement


    This article mainly introduces the use of JavaScript switch statement. The example code is introduced in great detail, which has a certain reference learning value for your study or work. If you need a friend, you can refer to it The switch statement is used to perform different actions based on different conditions. Switch (expression){ […]

  • Rabbitmq Basics


    1、RabbitMQ What problems does message queuing solve Asynchronous processing Application decoupling Flow cutting front Log processing Running rabbitmq image # docker run –name rabbitmq -tid -p 5672:5672 -p 15672:15672 -p 25672:25672 rabbitmq Modify bbitraq settings #Docker exec – it container No. / bin / Bash New users # rabbitmqctl add_user [user_name] [pwd] View users # […]

  • Houlang: Data Center Design in mobile Internet Era


    preface With the rapid development of mobile Internet, the data center today is quite different from the data center 10 years ago. Both the machine scale and the traffic model of IDC have changed greatly. “Qianlang: network model of traditional data center” has introduced the basic requirements of data center network construction and the network […]