Tag:Producer

  • 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 […]

  • Four chaos engineering experiments of Apache Kafka | idcf

    Time:2021-8-24

    Apache Kafka is an open source distributed messaging platform that delivers data with high throughput and low latency. In terms of scale, it can process trillions of records every day, while providing fault tolerance, replication and automatic disaster recovery.Although Kafka has many different usage scenarios, the most common is as a message broker between applications. […]

  • Spring cloud stream Kafka instance

    Time:2021-8-22

    maven <dependencyManagement> <dependencies> <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-dependencies</artifactId> <version>Camden.SR6</version> <type>pom</type> <scope>import</scope> </dependency> </dependencies> </dependencyManagement> <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-stream-binder-kafka</artifactId> </dependency> Producer configuration server: port: 8081 spring: application: name: output-demo cloud: instance-count: 1 instance-index: 0 stream: kafka: binder: brokers: localhost:9092 zk-nodes: localhost:2182 auto-add-partitions: true auto-create-topics: true min-partition-count: 1 bindings: output: destination: event-demo content-type: text/plain producer: partitionCount: 1 java code @EnableBinding(Source.class) […]

  • Advanced development: dotnet core multipath asynchronous termination

    Time:2021-8-19

    Today, let’s talk about asynchronous multipath termination with a simple example. I try to write it easy to understand, but today’s content needs to have a certain programming ability.   Today’s topic comes from some recent technical research on grpc. The topic itself has little to do with grpc. In the application, I used the […]

  • Detailed explanation of producers and consumers of golang concurrent programming

    Time:2021-8-10

    The most attractive thing about golang may be concurrency. Golang has absolute advantages in both code writing and performance Learn the concurrency characteristics of a language. I like to implement a producer consumer model. This model is very classic and suitable for many concurrency scenarios. Next, I will briefly introduce the concurrency programming of golang […]

  • Producer confirm of PHP actual combat rabbitmq

    Time:2021-7-30

    brief introduction In order to improve the high availability of the system, the producer is sendingmessageNeed to passMQreplyACKTo ensuremessageSuccessfully stored. Note: WeChat official account: Architect’s Road RabbitMQPublisher confirms is introduced on the official website. UnfortunatelyexampleNo codephpVersion, andphp-amqplibIt is also a group of volunteers who have limited energy in maintenance and do not use example completely […]

  • How to use channels in c#

    Time:2021-7-29

    In the faceProducer consumerIn this scenario, NETCORE provides a new namespaceSystem.Threading.ChannelsTo help us deal with such problems more efficiently. With this channel,producerandconsumerThey can handle their own tasks without interfering with each other, which is conducive to the concurrent processing of both parties. In this article, we will discuss how to use themSystem.Threading.Channels。 Dataflow vs Channel […]

  • 3 – topics and queues

    Time:2021-7-28

    Topics and queues The original message queue is a queue in a strict sense. In the computer field, “queue” is a data structure with complete and strict definition. In Wikipedia, a queue is defined as a linear list of first in first out (FIFO). In specific applications, it is usually implemented by linked list or […]

  • After reading this article, I’m no longer afraid of the interviewer asking me about thread pool

    Time:2021-7-28

    1、 Why do I need a thread pool In actual use, threads occupy system resources very much. If the thread management is not perfect, it is easy to cause system problems. Therefore, in most concurrent frameworks, thread pools are used to manage threads. The main advantages of using thread pools to manage threads are as […]

  • How to use channels in C # 8

    Time:2021-7-23

    In the faceProducer consumerIn this scenario, NETCORE provides a new namespaceSystem.Threading.ChannelsTo help us deal with such problems more efficiently. With the existence of this channel,producerandconsumerCan handle their own tasks without interfering with each other, is conducive to the concurrent processing of both sides, this article we will discuss how to useSystem.Threading.Channels。 Dataflow vs Channel staySystem.Threading.Tasks.DataflowA […]

  • Distributed message system: Kafka

    Time:2021-7-7

    preface As a message middleware, Kafka serves the asynchronous transmission of messagesThe function is similar to JMS: the producer puts the message into the queue, and the consumer gets the data from the queueBut it’s totally different Kafka flow chart 1. Producer sends messages by connecting to broker2. Producer delivers messages to a topic3. Messages […]

  • Rocketmq 4.7.1 environment construction, cluster and springboot integration MQ

    Time:2021-6-22

    Reading guide I’ve learned ActiveMQ before, but the amount of concurrency is not very largeI’ll take you there directlySo I learned from rocketmq, which is open source of Alibaba. It is said that queues can be stackedBillion level. The following is a comparison chart of message queues found on the Internet, for reference only deploy […]