audit-trigger
Rails Event Store
Our great sponsors
audit-trigger | Rails Event Store | |
---|---|---|
4 | 6 | |
649 | 1,375 | |
0.9% | 0.9% | |
2.6 | 9.7 | |
8 months ago | 13 days ago | |
PLpgSQL | Ruby | |
GNU General Public License v3.0 or later | MIT License |
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.
audit-trigger
-
How would you build an audit log in Rails for a high-throughput API?
If that really won't do it for you, you can try to do something lower level using postgres triggers and functions. Take a look at https://github.com/2ndQuadrant/audit-trigger as a starting point.
-
Postgres Auditing in 150 lines of SQL
Related project: https://github.com/2ndQuadrant/audit-trigger
Rails Event Store
-
Organize Business Logic in Your Ruby on Rails Application
That's not to say it's not an interesting pattern. You should use it if you have advanced reporting requirements, for example. If you want to learn more about it, look at Rails Event Store.
-
How would you build an audit log in Rails for a high-throughput API?
If you need something actually structured, you could use an Event Store
-
OOP vs. services for organizing business logic: is there a third way?
Rails Event Store – for an event-driven architecture
-
Event Store with Rails
Does anyone implemented or used a gem such as https://railseventstore.org to support Event Store in their Rails app?
-
What would you like to see in a Ruby web framework?
Events and CQRS are what rails event store deals with. I don't have any experience with it, though. It seems that they also support ROM and Sequel outside of Rails.
-
Yard Sale - event-driven e-commerce
This is a test project for Mongo Atlas hackathon. It uses RailsEventStore with PostgreSQL as an event store and MongoDB on Atlas for read models.
What are some alternatives?
supa_audit - Generic Table Auditing
wisper - A micro library providing Ruby objects with Publish-Subscribe capabilities
Logidze - Database changes log for Rails
Sequent - CQRS & event sourcing framework for Ruby
sirix - SirixDB is an an embeddable, bitemporal, append-only database system and event store, storing immutable lightweight snapshots. It keeps the full history of each resource. Every commit stores a space-efficient snapshot through structural sharing. It is log-structured and never overwrites data. SirixDB uses a novel page-level versioning approach.
Trailblazer - The advanced business logic framework for Ruby.
audit-trigger - Simple, easily customised trigger-based auditing for PostgreSQL (Postgres). See also pgaudit.
Rectify - Build maintainable Rails apps
pg-history-viewer - QGIS plugin that helps visualize contents of a PostgreSQL audit trigger table
ActiveInteraction - :briefcase: Manage application specific business logic.
u-service - Represent use cases in a simple and powerful way while writing modular, expressive and sequentially logical code.
dry-transaction - Business transaction DSL