Build a high-performance, high-availability, and high-availability hybrid event-driven architecture

Author: Zen and the Art of Computer Programming

1 Introduction

Hybrid Event-Driven Architecture (HEDA) is a distributed architecture pattern for real-time and accurate processing of various complex event streams. It can meet both real-time response requirements and high availability requirements. It was first proposed by the United Kingdom in 2006 and named as the Hydra architecture, which is applied in the fields of telecommunications, finance, and e-commerce. The HEDA architecture achieves a high degree of flexibility by separating the data management system and event processing system, and can find a balance between real-time and accuracy.

In recent years, due to the rapid development of emerging technologies such as cloud computing, big data, Internet of Things, and mobile Internet, as well as the many challenges brought about by the high-efficiency and low-latency features behind them, the hybrid event-driven architecture has gradually become a distributed architecture model. With the wide application and popularization of cloud computing, big data, and the surge in data volume of complex event streams, traditional message queue-based systems face resource bottlenecks, so a new hybrid event-driven architecture - Apache Samza - emerges. It encapsulates the functions of message queue, stream processing and task scheduling into different modules, and performs a high degree of decoupling and modularization to make it more flexible.

This article will start with a specific scenario and explain how to build a reliable, high-performance and highly available hybrid event-driven architecture. We will first discuss some key concepts and terms in the hybrid event-driven architecture, including stream processing, event sourcing, elastic computing, fault-tolerant mechanisms, and more. Then describe in detail how to build a complete HEDA architecture. Finally, we'll explore some of the leading research and open source projects for building hybrid event-driven architectures.

2. Explanation of basic concepts and terms

2.1 Hybrid Event-Driven Architecture (HEDA)

Hybrid Event-Driven Architecture (HEDA) refers to a distributed architecture pattern that separates event processing from message queues. The main features are as follows:

  1. Scalability &

Guess you like

Origin blog.csdn.net/universsky2015/article/details/131875013