Tag:switch

  • Detailed explanation of the strange usage of C language switch

    Time:2022-4-26

    The usage of switch is not summarized here. In fact, this is a convenient fast jump condition switcher. The most common technical discussion points about this function are the break and default behind the case. This is not discussed here. Just look at the following code: #include”stdio.h” int main(void) { int num = 0; switch(num) […]

  • Kube proxy service implementation principle of kubernetes learning notes

    Time:2022-4-20

    Overview We produce k8s external exposure services in many ways, one of which is usedexternal-ips clusterip serviceThe clusterip service mode exposes services to the public, and Kube proxy uses iptables mode. In this way, the external IPS can specify the IP addresses of several fixed worker nodes (the worker node service has been expelled and […]

  • Can rabbitmq also be used as a delay queue? nice!

    Time:2022-4-2

    In many scenarios, we have the requirement of delay queue. However, rabbitmq does not provide delay queue related functions by default. However, in the previous article, SongGe shared with you the dead letter queue in rabbitmq. Combined with the settings of dead letter queue and message expiration time, we can also realize the function of […]

  • Introduction to seven working modes of springboot rabbitmq

    Time:2022-3-30

    Rabbitmq working mode Simple mode Simple: a producer, a queue and a consumer. The producer sends messages to the queue, and the consumer listens to the queue and consumes messages Work mode Work: one producer, one queue and multiple consumers. The producer sends messages to the queue, and multiple consumers listen to the consumption messages […]

  • [let’s learn about rabbitmq together]

    Time:2022-3-13

    [let’s learn about rabbitmq I] basic introduction of rabbitmq Hi, everyone. I’m Nezha, the Little Devil boy. Let’s start to learn open source components from today. While learning, we summarize and share The outline of the article is as follows: Brief introduction and use of rabbitmq Six working modes of rabbitmq This article does not […]

  • Let’s learn rabbitmq II: basic applications of 6 modes of rabbitmq

    Time:2022-3-10

    Let’s learn rabbitmq II: basic applications of 6 modes of rabbitmq Hi, everyone. I’m Nezha, the Little Devil boy. Let’s start to learn open source components from today. While learning, we summarize and share The outline of the article is as follows: Rabbitmq membership Six working mode codes of rabbitmq Rabbitmq membership Producer Consumer Switch […]

  • Pike bare metal deployment

    Time:2022-3-3

    variable ctrl_ip=”172.36.214.11″ #controller_mgt_ip #Note: The hostname cannot contain “_” ctrl_hostname=`cat /etc/hostname` all_pwd=”123456″ #inspector_ip you should set on inspector_interface inspector_ip=”10.0.0.1″ inspector_intface=”ens256″ inspector_ippool_start=”10.0.0.100″ inspector_ippool_end=”10.0.0.200″ source /root/admin-openrc openstack network create Provision –provider-network-type vxlan –provider-segment 4001 #provision_ip you should set on inspector_interface’s vlan subinterface, for example: ens256.1255 provision_vlan=”4001″ provision_ip=”20.0.0.1″ provision_uuid=`openstack network show Provision | grep id|grep -v pro|grep -v […]

  • HTML5 various page switching effects and modal dialog Usage Summary

    Time:2022-2-28

    This paper summarizes various page switching effects and modal dialog usage of HTML 5 in detail. Share with you for your reference. The specific analysis is as follows: Page animation: The data transition attribute can define the animation effect of page switching.For example: < a href = “index. HTML” data transition = “pop” > I’ll […]

  • RabbitMQ

    Time:2022-2-19

    1、 Introduction Subtle level 2、 Installation Mirror Address #Select the version with manager daocloud.io/library/rabbitmq:management docker-compose version: “3.1” services: rabbitmq: image: daocloud.io/library/rabbitmq:management restart: always container_name: rabbitmq ports: – 5672:5672 – 15672:15672 volumes: – ./data:/var/lib/rabbitmq function docker-compose -f rabbitmq.yml #Visit 127.0.0.1:15672 guest/guest 3、 Rabbitmq architecture 1. Simple architecture 1. Publisher producer: publish messages to exchange in rabbitmq […]

  • Let’s learn rabbitmq 3: rabbitmq dead letter queue, delay queue, persistence and other knowledge points

    Time:2022-2-18

    Let’s learn rabbitmq 3: rabbitmq dead letter queue, delay queue, persistence and other knowledge points Let’s learn more about rabbitmq today and sort out the following related knowledge points How does rabbitmq message flow Knowledge points related to switches Queue related knowledge points Dead letter queue, delay queue, persistence What are the guarantee mechanisms for […]

  • Let’s learn about rabbitmq IV and rabbitmq windows installation

    Time:2022-2-16

    Rabbitmq windows installation Download rabbitmq www.rabbitmq.com/install-windows.h… Search keywordsDownload Download the Erlang environment installation package www.erlang.org/downloads Installing and configuring Erlang Click the download aboveotp_win64_24.0.exe Always next. Remember your installation path and use the default one. If customized, it is better to use English for the whole path New environment variable New system variable – type the […]

  • Understand the permission system in rabbitmq and don’t worry about message sending failure anymore!

    Time:2022-2-9

    Whether we create user objects through web pages or command-line tools, the newly created user objects cannot be used directly. We need to first place the user under a Vhost, and then give it permission. With permission, the user can use normally. Today, let’s learn about the permission system in rabbitmq and see what this […]