eventstore
Event store using PostgreSQL for persistence (by commanded)
commanded
Use Commanded to build Elixir CQRS/ES applications (by commanded)
eventstore | commanded | |
---|---|---|
2 | 4 | |
1,010 | 1,791 | |
0.9% | 0.7% | |
7.5 | 7.9 | |
7 days ago | 3 months ago | |
Elixir | Elixir | |
MIT License | 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.
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.
commanded
Posts with mentions or reviews of commanded.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-10-31.
-
Show HN: Light implementation of Event Sourcing using PostgreSQL as event store
This reminds me of Commanded[0] for elixir which also uses Postgresql by default.
[0]https://github.com/commanded/commanded
-
Adding soft delete to a Phoenix Commanded (CQRS) API
So, I lied told a half-truth about aggregates. They are not hydrated in-memory for every command / event. In reality, aggregates are implemented with GenServer each caching their state and being managed under the commanded application's supervision tree (ultimately by a DynamicSupervisor called Commanded.Aggregates.Supervisor, to be specific).
-
Using CQRS in a simple Phoenix API with Commanded
The Commanded hex package is a fabulous CQRS library used by some real companies in production, but it doesn't have a great on-ramp.
-
Phoenix LiveView, but event-sourced
The context: I'm building a cryptocurrency exchange application. I don't have the business chops to run an actual exchange, so this is just for fun. The application is built in Elixir, using the Commanded framework for CQRS/ES goodness, and Phoenix LiveView because it's the hot new thing that I wanted to learn.
What are some alternatives?
When comparing eventstore and commanded you can also consider the following projects:
rethinkdb - Rethinkdb client in pure elixir (JSON protocol)
ex_admin - ExAdmin is an auto administration package for Elixir and the Phoenix Framework
ecto - A toolkit for data mapping and language integrated query.
graphql_parser - Elixir binding for libgraphqlparser
amnesia - Mnesia wrapper for Elixir.
plug - Compose web applications with functions
postgrex - PostgreSQL driver for Elixir
plug_cloudflare - Parses CloudFlare's CF-Connecting-IP header into Plug.Conn's remote_ip field.
extreme - Elixir Adapter for EventStore
phoenix_live_reload - Provides live-reload functionality for Phoenix
mongo - MongoDB driver for Elixir
torch - A rapid admin generator for Elixir & Phoenix