1 pointby mehdig10a month ago2 comments
  • toomuchtodoa month ago
    Great work! Can you manage back pressure towards webhook senders in the interface? For example, responding with 429 when volume is potentially approaching or exceeding throughput capacity.
    • mehdig10a month ago
      Thanks !

      Since we're storing events in an intermediate collection and you consume them at your own rate, there is actually no need for this. They will just pile up until you can consume them

  • dmarwickea month ago
    why postgres for this? feels heavy for a queue. tried something similar with redis and it was way simpler
    • mehdig10a month ago
      Well yeah for a simple queue where messages live in memory and disappear once consumed there are plenty of technologies that work (rabbitmq, redis...). Here is the goal is not to just build a queue but rather have something persisted where you can inspect payload and replay even days after the original even was sent