• Apache rocketmq won the outstanding open source project of China open source cloud alliance in 2021


    In order to promote the development of domestic open source ecological industry, China open source cloud League (coscl) organized the selection of 2021 outstanding open source contributors, excellent open source projects, best open source practice cases and excellent open source innovation enterprises. Apache rocketmq was successfully selected as an excellent open source project of basic […]

  • PHP design pattern – mediator pattern


      definition: Mediator mode:A mediation object is used to encapsulate a series of object interactions. Mediators make objects do not need to explicitly refer to each other, so that they are loosely coupled, and their interaction can be changed independently.   Structure: Mediator: Abstract mediator, which defines the interface from colleague object to mediator object. […]

  • Rocketmq notes: application practice


    Original article, reprint, please indicate the address of the original article, thank you! General message Message sending classification Producer also has a variety of options for sending messages. Different methods will produce different system effects. Send messages synchronously Sending messages synchronously means that after the producer sends ⼀ messages, it will send ⼀ messages after […]

  • Tanabata is coming. 20 lines of JS code make a cartoon P-picture wechat robot for your girlfriend


    Tanabata is coming, and it’s the festival for you to give gifts to your girlfriend and wife. This year, my wife stipulated that I can’t spend too much money and forbid buying straight men’s gifts on Taobao. It’s really too difficult. I don’t know what to give if I want to break my scalp, but […]

  • IOS interview runloop collection


    Runloop What is the role of runloop? Runloop is essentially an object that manages the events and messages it needs to process, and provides aEntry functionExecute the logic of event loop and cycle by switching between user state and kernel state. After the thread executes this function, it will always be inside this function”Accept message […]

  • Kafka — when is the data in the buffer sent


    Our data is written to the buffer, so the data here cannot always be put in the cache. Therefore, Kafka has a thread called sender, which will always run. If you check the messages that can be sent in the buffer, you will send them. Let’s see several scenarios in which messages can be sent. […]

  • Use of spring data redis stream


    1、 Background StreamType isredis5After the new type, in this article, we implement the useSpring boot data redisTo consumeRedis StreamData in. Realize independent consumption and consumption group consumption. 2、 Integration steps 1. Import jar package <dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-redis</artifactId> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-pool2</artifactId> <version>2.11.1</version> </dependency> </dependencies> It is mainly the package above. For other unrelated packages, […]

  • User case farewell to traditional financial message architecture: Apache pulsar’s practice in Ping An Securities


    This article starts from InfoQ farewell to traditional financial message architecture: Apache pulsar’s practice in Ping An Securities.Authors: Wang Dongsong, Chen Xiang In the financial scenario, with the expansion of business, more scenarios are added to the application system. These new scenarios put forward more diverse requirements for the message system, resulting in a series […]

  • New features of Kop 2.8.0 (video attached)


    Introduction: at tgip-cn live broadcast on April 11, we invited streamnative engineer Xu Yunze, who shared the prospect of new features of Kop 2.8.0. The following is the concise text sorting version of Xu Yunze’s sharing video for your reference. In the live broadcast of tgip-cn on April 11, Xu Yunze, a software engineer from […]

  • Design of message push platform (millions of stores push messages at the same time)


    brief introduction In the existing project, there is a need to push messages for millions of stores at the same time. It is necessary to design a message push center system for special message push demand Push messages to millions of stores Support websocket on the agent side to push messages in real time to […]

  • Summary of Kafka knowledge points


    1. What is Kafka Kafka is a multi partition, multi replica, distributed message queue based on publish / subscribe mode. At present, Kafka has been positioned as a distributed streaming processing platform. It is widely used because of its high throughput, persistence, horizontal scalability, support for streaming data processing and other characteristics. 2. Kafka architecture […]

  • Best practices | technical practice of Apache pulsar in lakala


    About Apache pulsarApache pulsar is a top-level project of the Apache Software Foundation. It is a native distributed message flow platform for the next generation cloud. It integrates message, storage and lightweight functional computing. It adopts a separate architecture design of computing and storage, supports multi tenant, persistent storage, multi machine room cross regional data […]