postgrex
PostgreSQL driver for Elixir (by elixir-ecto)
eventstore
Event store using PostgreSQL for persistence (by commanded)
Our great sponsors
postgrex | eventstore | |
---|---|---|
3 | 2 | |
1,041 | 1,001 | |
0.5% | 0.7% | |
6.3 | 7.8 | |
23 days ago | 5 days ago | |
Elixir | Elixir | |
Apache License 2.0 | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
postgrex
Posts with mentions or reviews of postgrex.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-01-25.
-
Elixir clustering using Postgres
Now we can replicate the same behavior in Elixir and Postgrex within IEx (Elixir's interactive shell).
-
TIL: Non standard postgres types in livebook
But I found a problem when the data type is not supported by postgrex. In this case, you can either have to write a custom postgrex extension like the example here. In postgrex GitHub repo, there are many examples for common data types, but XML is missing there.
-
Realtime: Multiplayer Edition
It sounds like Supabase is pulling out the WAL listening bits into its own library?
https://supabase.com/blog/supabase-realtime-multiplayer-gene...
If so, y'all might want to look into: https://github.com/elixir-ecto/postgrex/blob/master/lib/post...
eventstore
Posts with mentions or reviews of eventstore.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-05-10.
-
Using CQRS in a simple Phoenix API with Commanded
Since I already had a Postgres database running, I decided to use EventStore rather than installing and babysitting EventStoreDB. To initialize the database and tables, I ran mix event_store.init and mix event_store.create.
-
Phoenix LiveView, but event-sourced
My goal is to use LiveView to update a price chart as trades are executed by the system. A LiveView process is a lot like a GenServer, with a bespoke process for each client, executing handle_* functions as the client does things. The first step to real-time chart updates is to trigger one of these handler functions in my LiveView controller when a trade is executed. I'm using Commanded's own EventStore library to dispatch and store my events, so their documentation is the place to start.
What are some alternatives?
When comparing postgrex and eventstore you can also consider the following projects:
ecto - A toolkit for data mapping and language integrated query.
rethinkdb - Rethinkdb client in pure elixir (JSON protocol)
amnesia - Mnesia wrapper for Elixir.
extreme - Elixir Adapter for EventStore
mariaex - Pure Elixir database driver for MariaDB / MySQL
mongo - MongoDB driver for Elixir
mongodb_ecto - MongoDB adapter for Ecto
datomex - Elixir driver for the Datomic REST API
riak - A Riak client written in Elixir.
ecto_psql_extras - Ecto PostgreSQL database performance insights. Locks, index usage, buffer cache hit ratios, vacuum stats and more.