cainophile
postgrex_pubsub
cainophile | postgrex_pubsub | |
---|---|---|
2 | 1 | |
235 | 11 | |
1.7% | - | |
1.7 | 0.0 | |
3 months ago | over 1 year ago | |
Elixir | Elixir | |
Apache License 2.0 | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
cainophile
-
How to Listen to Database Changes Using Postgres Triggers in Elixir
If you want to listen to database changes in Elixir you can also get really good stuff done by using Cainophile (https://github.com/cainophile/cainophile). Same mechanism. I don't know the details of Debezium so I can't say if you are leaving fantastic things on the table. But I've had good fun with Cainophile. For example I've used it in my videos on Electric SQL to react to changes in a Postgres database. It matches nicely with realtime-ish UI via LiveView. So meshes really good with the current Elixir stack.
-
Ask HN: Is there a way to subscribe to an SQL query for changes?
https://github.com/cainophile/cainophile
I happened to do a similar thing but I adapted cainophile into an Elixir “OffBroadway” producer:
postgrex_pubsub
-
How to Listen to Database Changes Using Postgres Triggers in Elixir
https://github.com/bnchrch/postgrex_pubsub
And But it you want something even better I recommend WalEx
What are some alternatives?
noria - Fast web applications through dynamic, partially-stateful dataflow
mssql-changefeed
supavisor - A cloud-native, multi-tenant Postgres connection pooler.
pgcat - PostgreSQL pooler with sharding, load balancing and failover support.
timely-dataflow - A modular implementation of timely dataflow in Rust
PipelineDB - High-performance time-series aggregation for PostgreSQL
flow - 🌊 Continuously synchronize the systems where your data lives, to the systems where you _want_ it to live, with Estuary Flow. 🌊
revori - A revision-oriented DBMS
rethinkdb_rebirth - The open-source database for the realtime web.
db_watch
integrate - Core IntegrateDB source code repository.