We're sunsetting PodQuest on 2025-07-28. Thank you for your support!
Export Podcast Subscriptions
cover of episode #112: Better Developer Experience for Event-Driven Architectures | ft. Alex Bouchard, co-founder of Hookdeck

#112: Better Developer Experience for Event-Driven Architectures | ft. Alex Bouchard, co-founder of Hookdeck

2025/1/29
logo of podcast Real World Serverless with theburningmonk

Real World Serverless with theburningmonk

AI Deep Dive AI Chapters Transcript
People
A
Alex Bouchard
Topics
我创建Hookdeck的初衷是为了解决在电商业务中处理Webhook的难题。Hookdeck作为一个Event Gateway,与AWS EventBridge类似,但更专注于工程团队的需求,提供更灵活的服务器端运行方式,并使用HTTP推送队列而不是拉取队列,这使得它可以运行在任何云平台或运行时环境。Hookdeck关注完整的软件开发生命周期,特别改善了本地开发体验,允许同时连接多个隧道处理异步事件,并提供对本地开发过程的完整可见性,包括事件的请求数据、响应以及重试功能。Hookdeck作为HTTP代理,不强制使用特定事件包络,并支持通过转换功能自定义数据格式。Hookdeck提供自动重试机制,包括指数退避和自定义重试计划,并允许手动或基于条件的批量重试。Hookdeck使用“Issues”功能替代死信队列,提供对失败事件的详细分类、分析和批量重试功能。Hookdeck提供单一模型来控制并发性,简化了在不同运行时环境中管理并发性的复杂性。Hookdeck的转换功能使用隔离的虚拟机运行纯JavaScript函数,高效且安全。Hookdeck通过与其他工具集成(例如,Event Catalog)来实现模式发现等功能。Hookdeck的架构分为两个独立的组件:摄取层(API层)和事件生命周期管理层(交付队列),分别使用不同的技术实现。Hookdeck通过声明消费者来映射事件架构拓扑,并支持回调功能实现事件链。Hookdeck使用访问令牌来实现与AWS服务的集成,例如Lambda,并支持IAM角色。

Deep Dive

Chapters
This chapter introduces Hookdeck, a serverless event gateway service built on Cloudflare Workers, and compares it to AWS EventBridge. It highlights Hookdeck's focus on developer experience and its operation as an HTTP push queue.
  • Hookdeck is a serverless event gateway service.
  • It's built using Cloudflare Workers and other technologies.
  • It differs from AWS EventBridge by operating as an HTTP push queue instead of a pull queue.
  • Hookdeck focuses on developer experience and the full software development lifecycle.

Shownotes Transcript

In this episode, I spoke with Alex Bouchard, co-founder and CTO of Hookdeck, to learn more about Hookdeck and how it differs from Amazon EventBridge.This episode contains a live demo of Hookdeck, for the best viewing experience, please watch the recording on YouTube here).Alex gave me a demo of Hookdeck, which has some nice features for addressing common developer experience problems with EventBridge. For example:

  • Deliver events to local targets
  • Audit history of event deliveries
  • Issues page of failed event deliveries
  • Replay failed events

Links from the episode:

  •  Check out Hookdeck)

Opening theme song:Cheery Monday by Kevin MacLeodLink: https://incompetech.filmmusic.io/song/3495-cheery-mondayLicense: http://creativecommons.org/licenses/by/4.)