filmov
tv
[EN] DDD in Ruby on Rails - Aggregate Pattern - Paweł Strzałkowski
Показать описание
Video from the fourth edition of Domain-Driven Design webinar hosted by Visuality, with presentation by Paweł Strzałkowski. The speaker shows how to use DDD's aggregate pattern in a Ruby on Rails application.
The covered topics include:
- an eventful story about Christmas elves and their struggle with work burnout
- dealing with race conditions
- aggregate pattern
- optimistic and pessimistic locking
- how and when to use aggregates in Ruby on Rails applications
- eventual consistency
Additional links:
Presentation plan:
[0:00] Introduction
[3:51] Story of Christmas Elves
[5:18] Task which need aggregates
[5:47] Multi-user system requirements
[7:27] Flawed, Service Object solution
[7:56] What is a race condition?
[9:25] Fix for the race condition
[11:25] Task which needs aggregates
[12:02] Database / ActiveRecord / Service Object level solutions
[16:37] Discovery of Domain-Driven Design
[17:13] Introduction to Domain-Driven Design Aggregate
[20:40] Examples of aggregates
[26:30] Aggregate based solution in Ruby on Rails
[28:10] Pessimistic locking
[30:35] Optimistic locking
[34:07] Optimistic and Pessimistic locking in Ruby on Rails
[37:00] Aggregate based solution in Ruby on Rails with locking
[38:10] DDD online conversation announcement
[40:36] Eventual consistency between aggregates
[45:00] ActiveRecord vs PORO
[46:42] Summary
[48:40] Q&A
[51:00] Visuality presentation
Authors: Paweł Paweł Strzałkowski
Visuality talks: Y20W[...]
____________________________________________
► Looking for a dedicated software development team? Contact us at:
► SUBSCRIBE to learn more about software development:
► Find us here:
The covered topics include:
- an eventful story about Christmas elves and their struggle with work burnout
- dealing with race conditions
- aggregate pattern
- optimistic and pessimistic locking
- how and when to use aggregates in Ruby on Rails applications
- eventual consistency
Additional links:
Presentation plan:
[0:00] Introduction
[3:51] Story of Christmas Elves
[5:18] Task which need aggregates
[5:47] Multi-user system requirements
[7:27] Flawed, Service Object solution
[7:56] What is a race condition?
[9:25] Fix for the race condition
[11:25] Task which needs aggregates
[12:02] Database / ActiveRecord / Service Object level solutions
[16:37] Discovery of Domain-Driven Design
[17:13] Introduction to Domain-Driven Design Aggregate
[20:40] Examples of aggregates
[26:30] Aggregate based solution in Ruby on Rails
[28:10] Pessimistic locking
[30:35] Optimistic locking
[34:07] Optimistic and Pessimistic locking in Ruby on Rails
[37:00] Aggregate based solution in Ruby on Rails with locking
[38:10] DDD online conversation announcement
[40:36] Eventual consistency between aggregates
[45:00] ActiveRecord vs PORO
[46:42] Summary
[48:40] Q&A
[51:00] Visuality presentation
Authors: Paweł Paweł Strzałkowski
Visuality talks: Y20W[...]
____________________________________________
► Looking for a dedicated software development team? Contact us at:
► SUBSCRIBE to learn more about software development:
► Find us here: