February 2024 Summaries
5 posts from Hookdeck
Filter
Month:
Year:
Post Summaries
Back to Blog
Detecting and Handling Delivery Errors in an Event-Driven Architecture (EDA) can be challenging due to the asynchronous nature of EDA. Delivery errors may occur at different stages, such as connecting to a message broker, publishing messages, delivering messages to subscribers, or processing them. Proper understanding and handling of these errors are crucial for successful message delivery.
In this article, we discuss various error mitigation techniques, including using retry loops, store-and-forward patterns, connecting to secondary brokers, making queues and topics durable, configuring durable subscriptions, avoiding auto-acknowledgement of messages, setting up dead letter queues (DLQs), and adjusting message time-to-live (TTL).
These techniques help ensure that messages are eventually delivered to the intended recipients and can be processed successfully. It is essential to monitor and manage these errors effectively to maintain a robust EDA infrastructure.
Feb 29, 2024
2,201 words in the original blog post.
Amazon EventBridge, Azure Event Grid, Google Eventarc, Confluent Kafka, and Hookdeck are all tools that can be used to build an event gateway. However, they each have their own strengths and weaknesses.
Amazon EventBridge is a good choice for AWS-centric architectures, as it integrates well with other AWS services. It supports many data sources and destinations but lacks in-flight processing capabilities.
Azure Event Grid is similar to Amazon EventBridge, but it's designed for Azure environments. It also has limitations on the number of events that can be processed per second.
Google Eventarc is a newer tool compared to the others. It supports many data sources and destinations, but like EventBridge, it lacks in-flight processing capabilities.
Confluent Kafka is a powerful tool for managing large volumes of data. However, it's complex to set up and manage, and it doesn't provide any in-flight processing capabilities.
Hookdeck is an all-in-one event gateway that supports many data sources and destinations. It also provides in-flight processing capabilities, making it a versatile tool for building event-driven architectures.
In conclusion, the best tool for building an event gateway depends on your specific needs and constraints. If you're already heavily invested in AWS or Azure, their respective tools might be the most convenient options. However, if you need more flexibility and control over your event gateway, Hookdeck could be a better choice.
Feb 20, 2024
5,606 words in the original blog post.
This article explores the fundamentals of messaging, event-driven architecture (EDA), and asynchronous APIs. It covers topics such as message types, interaction patterns, and common pitfalls encountered when transitioning from synchronous to asynchronous architectures. The text also discusses design patterns for EDA, including Event Notification, Event-Carried State Transfer, using hypermedia links in events, and event batching. By understanding these concepts and avoiding common pitfalls, teams can successfully implement EDA and improve their system's efficiency and scalability.
Feb 07, 2024
2,168 words in the original blog post.
Event-driven architecture (EDA) is gaining renewed attention as modern systems grow more complex, necessitating integration across business units and third-party applications. This approach emphasizes asynchronous communication through messaging and APIs like Webhooks, diverging from traditional synchronous methods. Key concepts include understanding the types of messages—commands, replies, and events—and utilizing design patterns to effectively implement EDA while avoiding common pitfalls. These pitfalls often stem from a lack of foundational knowledge in messaging and protocol use, leading to inefficiencies such as stale data processing and unnecessary custom coding. To mitigate these issues, adopting established patterns like Event Notification and Event-Carried State Transfer, embedding hypermedia links in events, and considering event batching can enhance the reliability and efficiency of EDA systems. Additionally, leveraging existing protocols and tools such as message brokers and event gateways can prevent the unnecessary development of infrastructure, allowing teams to focus on solution-building.
Feb 07, 2024
2,340 words in the original blog post.
In the January 2024 update, Hookdeck introduces a new Next.js vlog starter kit called SupaVlog, which integrates Supabase (database and storage) and Stream (video). They also added support for webhook signature verification for Twilio, Courier, and Sanity, along with releasing new versions of their Go SDK and Terraform Provider to support these verifications. Additionally, two new quickstarts are introduced: third-party to third-party message routing and asynchronous API infrastructure. The update also highlights a few important reads related to event-driven architectures and cloud computing in the post-serverless era.
Feb 05, 2024
678 words in the original blog post.