Tag:switch

  • How does the rabbitmq series ensure that messages are not lost

    Time:2021-10-17

    1. The previous article introduced how to use rabbitmq to realize RPC function in springboot, and shared possible pits and solutions;2. This chapter mainly introduces scenarios where messages may be lost and solutions, and basically covers all possible scenarios. 1、 By setting persistence Persistence can improve the reliability of rabbitmq to prevent data loss under […]

  • Detailed explanation of the conditional statement switch example in go

    Time:2021-10-12

    Switch introduction The basic functions of go switch are similar to those of C and Java: Switch statements are used to perform different actions based on different conditions. Each case branch is unique and tested one by one from top to bottom until it matches. There is no need to add break after the match. […]

  • Rabbitmq common function encapsulation – PHP version

    Time:2021-10-3

    When rabbitmq has been widely used in the project, here is a brief summary of the general functions of rabbitmq and encapsulated into a composer package,Composer package address、GitHub address, welcome fork. Due to the limited level, it is inevitable that there are bugs. Welcome to put forward your valuable opinions Introduction to easy rabbitmq package […]

  • Basic usage of PHP practical rabbitmq

    Time:2021-9-2

    brief introduction Rabbitmq is a highly available information middleware. It is very necessary to learn and use rabbitmq. Asynchronous messaging Support various development languages such as Java, python, PHP, etc Pluggable authentication, authorization Rabbitmq manager can be used for management and monitoring. install Docker is directly used here, which is very convenient for installation Pull […]

  • Analysis of network diagnosis sharp tool srecli net

    Time:2021-8-15

    Introduction:Network diagnostic tool srecli net 1. Background Sre operation and maintenance team is committed to improving the production efficiency of operation and maintenance through automation, promoting the iterative transformation to intelligent operation and maintenance, and solving the pain points of traditional operation and maintenance. Although the traditional operation and maintenance has a complete operation and […]

  • Detailed explanation of rabbitmq’s core switches and queues

    Time:2021-8-13

    introduction In recent company projects, rabbitmq message middleware is used for pushing and receiving synchronization of vehicle big data. For the parameter configuration and use of the most core switch and queue, exchange and queue, let’s make a brief summary for ourselves and everyone to learn! 1. Let’s introduce the members in rabbitmq first Producer: […]

  • Rabbitmq components and architecture

    Time:2021-7-1

    A series of articles: Introduction to rabbitmq Mac install rabbitmq Install rabbitmq in Ubuntu Rabbitmq usage scenarios Rabbitmq components and architecture Rabbitmq code example Rabbitmq introduction case – fanout mode Rabbitmq introduction case – work mode – polling mode Rabbitmq – springboot case – fanout mode Rabbitmq – springboot case – direct mode Rabbitmq – […]

  • Rabbitmq – springboot case – topic mode

    Time:2021-6-25

    A series of articles: Introduction to rabbitmq Mac install rabbitmq Install rabbitmq in Ubuntu Rabbitmq usage scenarios Rabbitmq components and architecture Rabbitmq code example Rabbitmq introduction case – fanout mode Rabbitmq introduction case – work mode – polling mode Rabbitmq – springboot case – fanout mode Rabbitmq – springboot case – direct mode Rabbitmq – […]

  • On the use of pagevisibility API for page switching activation in HTML5

    Time:2021-6-24

    HTML5 has launched a very “special” API page visibility. The reason why it is so special is that this API focuses on a function that few people pay attention to – whether the browser tab is activated or not. It must be explained here that this “activation” refers to whether the tag is being browsed […]

  • Rabbitmq advanced – dead letter queue

    Time:2021-6-23

    A series of articles: Introduction to rabbitmq Mac install rabbitmq Install rabbitmq in Ubuntu Rabbitmq usage scenarios Rabbitmq components and architecture Rabbitmq code example Rabbitmq introduction case – fanout mode Rabbitmq introduction case – work mode – polling mode Rabbitmq – springboot case – fanout mode Rabbitmq – springboot case – direct mode Rabbitmq – […]

  • Deeply analyze the use of switch statement in go language programming

    Time:2021-6-4

    The switch statement allows a variable to test the equality of a list of opposing values. Each value is called a case, and the variable is turned on to check each switch case. In go programming, there are two types of switch. Expression switch – in the expression switch, case contains the value of the […]