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
20082026
-
…are disappearing when you rely more on Postgres! [0] https://github.com/supabase/realtime [1] https://github.com/cpursley/walex
comment by jumski · 2025-11-17 · in Listen to Database Changes Through the Postgres WAL -
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…
comment by cpursley · 2025-11-17 · in Listen to Database Changes Through the Postgres WAL -
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?
comment by cpursley · 2025-09-18 · in I Built an Event-Sourcing Database Engine: Meet Genesis DB -
…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 -
…replication in neon.tech is literally just a switch. And it plays well with a CDC library of mine: https://github.com/cpursley/walex
comment by cpursley · 2025-01-14 · in PostgreSQL is the Database Management System of the Year 2024 -
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 -
…looking for something that's simple to operate (but not quite as robust yet), check out WalEx: https://github.com/cpursley/walex
comment by cpursley · 2024-03-07 · in Writing a Postgres logical replication system in Golang -
…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...
comment by cpursley · 2024-02-25 · in The Ultimate Guide to PostgreSQL Data Change Tracking -
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");
comment by cpursley · 2024-02-24 · in The Ultimate Guide to PostgreSQL Data Change Tracking -
…persistence of the changes! For something very light wight - check out WalEx (I'm the maintainer): https://github.com/cpursley/walex
comment by cpursley · 2024-02-24 · in The Ultimate Guide to PostgreSQL Data Change Tracking -
…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 -
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 -
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 -
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 -
…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...
comment by cpursley · 2024-01-11 · in A Technical Dive into PostgreSQL's replication mechanisms -
…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…
comment by cpursley · 2024-01-11 · in A Technical Dive into PostgreSQL's replication mechanisms -
…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 -
…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 -
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 -
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 -
…& 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 -
…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…
comment by cpursley · 2023-09-20 · in Show HN: ElectricSQL, Postgres to SQLite active-active sync for local-first apps -
…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
comment by cpursley · 2023-07-25 · in Launch HN: Artie (YC S23) – Real time data replication to data warehouses -
…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.
comment by bnchrch · 2023-06-14 · in How to listen to database changes using Postgres triggers in elixir -
…WalEx which borrowed a good bit from Cainophole but uses the new WAL listening logic in Postgrex: https://github.com/cpursley/walex
comment by cpursley · 2023-06-14 · in How to listen to database changes using Postgres triggers in elixir -
If you’d like to stay in the Elixir world, I’ve created WalEx: https://github.com/cpursley/walex
comment by cpursley · 2023-06-14 · in How to listen to database changes using Postgres triggers in elixir -
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 -
…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 -
…a little library (which is mostly ripped off from Supabase's realtime but with some helpers): https://github.com/cpursley/walex
comment by cpursley · 2022-10-28 · in Push-based outbox pattern with Postgres logical replication -
Very cool. I'm using Elixir to listen to change events via https://github.com/cpursley/walex (which I basically ripped off from Supabase).
comment by cpursley · 2022-08-23 · in We used Elixir's Observer to hunt down bottlenecks -
…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 -
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 -
…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 -
…directly in Elixir[2] [1]: https://github.com/supabase/realtime#why-not-just-use-postgr... [2]: https://github.com/cpursley/walex
comment by cpursley · 2021-12-18 · in Postgres is a great pub/sub and job server (2019)