Hacker GitHub

← All repos

agoodway/walex

View on GitHub ↗ ★ 371 Elixir

Postgres change events (CDC) in Elixir [WAL]

34 mentions on Hacker News by 3 people: 0 stories, 34 comments · first 2021-12-18 · latest 2025-11-17

Mentions per year 34 mentions · busiest year 2023 (11)
20082026
  1. …are disappearing when you rely more on Postgres! [0] https://github.com/supabase/realtime [1] https://github.com/cpursley/walex
  2. Thanks for the WalEx mention!: https://github.com/cpursley/walex also, there’s https://github.com/sequinstream/sequin if you want something more robust that already works with connectors and smokes debezium in terms of performance and is…
  3. Why not just hook up postgres to something like https://github.com/cpursley/walex or any of the other libraries like Debezium, https://sequinstream.com ? Isn't postgres enough?
  4. …limitations (column size). This is why I prefer listening to the Postgres WAL for database changes: https://github.com/cpursley/walex?tab=readme-ov-file#walex (there's a few useful links in here)
    comment by cpursley · 2025-07-10 · in Postgres LISTEN/NOTIFY does not scale
  5. …replication in neon.tech is literally just a switch. And it plays well with a CDC library of mine: https://github.com/cpursley/walex
  6. Check out WalEx for this, it doesn't suffer from the character limits of listen/notify: https://github.com/cpursley/walex
    comment by cpursley · 2024-05-20 · in Using Postgres for Everything
  7. …looking for something that's simple to operate (but not quite as robust yet), check out WalEx: https://github.com/cpursley/walex
  8. …for this sort of workload. You can use WalEx and forward the events to your Node app via webhook: https://github.com/cpursley/walex?tab=readme-ov-file#webhook...
  9. The WAL CDC approach: https://github.com/cpursley/walex?tab=readme-ov-file#publica... CREATE PUBLICATION news_item FOR TABLE news WHERE (topic IS "AAPL");
  10. …persistence of the changes! For something very light wight - check out WalEx (I'm the maintainer): https://github.com/cpursley/walex
  11. …these are the best written tests, but I test various processes, supervisors, etc like this: - https://github.com/cpursley/walex/blob/master/test/walex/sup... - https://github.com/cpursley/walex/blob/e13a9cbf9aca1a2a2d4ed...
    comment by cpursley · 2024-02-07 · in ElixirNitpicks
  12. You don’t send the entire WAL, just what you subscribe to - and you can even filter via SQL: https://github.com/cpursley/walex?tab=readme-ov-file#publica...
    comment by cpursley · 2024-02-06 · in PostgreSQL is enough
  13. WalEx instead of pub/sub (listen/subscribe): https://github.com/cpursley/walex Supavisor connection pooler: https://github.com/supabase/supavisor
    comment by cpursley · 2024-02-06 · in PostgreSQL is enough
  14. Yep, I should add that. One of the libraries in my list (that I maintain) is WalEx: https://github.com/cpursley/walex/issues It subscribes to the Postgres WAL and let you do the same sort of thing you can do with listen/notify, but without…
    comment by cpursley · 2024-02-06 · in PostgreSQL is enough
  15. …events to an Elixir module, webhook or EventRelay (the later two don't require Elixir know-how). https://github.com/cpursley/walex?tab=readme-ov-file#destina...
  16. …If you're an Elixir user, you might find my library for subscribing to Postgres WAL events useful: https://github.com/cpursley/walex It's a lot easier to operate than the typical debezium setup (which is what I think Airbyte uses behind…
  17. …a little library in Elixir (that originally started out as forked Supabase realtime) for this: https://github.com/cpursley/walex Recently added the ability to configure WalEx to forward events to webhooks or EventRelay (so you don’t need…
    comment by cpursley · 2023-12-16 · in Fly Postgres, Managed by Supabase
  18. …way to subscribe to real time changes via the WAL. I even maintain an open source library for this: https://github.com/cpursley/walex
    comment by cpursley · 2023-12-02 · in Accidental database programming
  19. This is what we do. Even put together a library for it: https://github.com/cpursley/walex
    comment by cpursley · 2023-09-25 · in Choose Postgres queue technology
  20. If you're using Elixir, check out https://github.com/cpursley/walex I've actually been thinking about turning this idea into a product where you can just point it at your postgres database and select the tables you want to listen to (with…
    comment by cpursley · 2023-09-22 · in Ways to capture changes in Postgres
  21. …& Postgres user, I have a little library for listening to WAL changes using a similar approach: https://github.com/cpursley/walex
    comment by cpursley · 2023-09-22 · in Ways to capture changes in Postgres
  22. …for a while now. Also glad to see this is Elixir based and that Jose is involved. I've been using https://github.com/cpursley/walex (basically a fork of cainophile via a fork for subabase) to listen to Postgres changes in Elixir. Sequin is…
  23. …and who want to work with Postgres CDC at a lower level, I've put together a little CDC library: https://github.com/cpursley/walex
  24. …https://github.com/bnchrch/postgrex_pubsub Also if you want something even better I recommend WalEx https://github.com/cpursley/walex Which is based on WAL logs and doesnt have the same limitations.
  25. …WalEx which borrowed a good bit from Cainophole but uses the new WAL listening logic in Postgrex: https://github.com/cpursley/walex
  26. If you’d like to stay in the Elixir world, I’ve created WalEx: https://github.com/cpursley/walex
  27. Great writeup, just added this to the WalEx readme: https://github.com/cpursley/walex (WalEx is an Elixir lib for listening to the WAL and perform callback-like actions with the data)
    comment by cpursley · 2023-04-08 · in PostgreSQL Logical Replication Gotchas
  28. …by listening to database changes then reacting as needed with a change capture / event-like system: https://github.com/cpursley/walex
    comment by cpursley · 2022-11-29 · in A Poor Man's API
  29. …a little library (which is mostly ripped off from Supabase's realtime but with some helpers): https://github.com/cpursley/walex
  30. Very cool. I'm using Elixir to listen to change events via https://github.com/cpursley/walex (which I basically ripped off from Supabase).
  31. …as individual packages for the wider Elixir community and so that it's easier to contribute back. https://github.com/cpursley/walex
    comment by cpursley · 2022-08-19 · in Supabase – Realtime: Multiplayer Edition
  32. Can we set our own logical replication? I'm listening to the WAL the same way Supabase does it: https://github.com/cpursley/walex#logical-replication
    comment by cpursley · 2022-05-28 · in Neon – Serverless Postgres
  33. …code into an individual library so that you can listen to Postgres changes right in Elixir: https://github.com/cpursley/walex
    comment by cpursley · 2022-01-30 · in Building single-page-apps with PostgREST
  34. …directly in Elixir[2] [1]: https://github.com/supabase/realtime#why-not-just-use-postgr... [2]: https://github.com/cpursley/walex