Skip to content

Instantly share code, notes, and snippets.

View Austio's full-sized avatar

Austin Story Austio

View GitHub Profile
@Austio
Austio / The Many Meanings of Event-Driven Architecture.md
Created April 26, 2021 21:19 — forked from xpepper/The Many Meanings of Event-Driven Architecture.md
My notes on the talk "The Many Meanings of Event-Driven Architecture" by Martin Fowler (GOTO 2017)

GOTO 2017 • The Many Meanings of Event-Driven Architecture - Martin Fowler

(the video is here, the original talk notes are here)

At least one of those four patterns are in play when you talk about "event-driven" architectures:

  1. Event Notification: components communicating via events
  2. Event-carried State Transfer: allowing components to access data without calling the source
  3. Event Sourcing: using an event log as the primary record for a system
  4. CQRS: having a separate component for updating a store from any readers of the store
@Austio
Austio / create-ruby-gem-that-adds-rake-tasks.md
Created September 26, 2022 21:34 — forked from ntamvl/create-ruby-gem-that-adds-rake-tasks.md
How to create a Ruby gem that adds Rake tasks

How to create a Ruby gem that adds Rake tasks

Create a gem

One way to do this is to use bundler to scaffold our gem:

bundler gem my_gem

Add rake tasks to our gem

I prefer to put tasks meant to manage the gem itself in lib/tasks, and tasks the gem is meant to provide to gem users in lib/my_gem/tasks.

@Austio
Austio / config-initializers-groupdate.rb
Created April 20, 2025 23:37 — forked from wtom/config-initializers-groupdate.rb
Rails - Groupdate 5.2.2 - active_record.default_timezone = :local
Groupdate::Magic::Relation.prepend Ext::Groupdate::Magic::Relation
Groupdate::Adapters::BaseAdapter.prepend Ext::Groupdate::Adapters::BaseAdapter
Groupdate::Adapters::MySQLAdapter.prepend Ext::Groupdate::Adapters::MysqlAdapter