YoVDO

Call Me Back, Postgres

Offered By: Ruby Central via YouTube

Tags

RailsConf Courses PostgreSQL Courses Database Management Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the power of Postgres triggers as an alternative to Rails' Active Record callbacks in this 30-minute RailsConf 2022 talk. Discover how to implement callbacks at the database level using Postgres' trigger functionality, and learn to leverage Postgres' listen and notify features for creative solutions in data syncing and process management. Gain insights into making your Rails app the center of a complex system, seamlessly handling various processes regardless of app consumers. Delve into topics such as defining and applying trigger functions, broadcasting and listening for notifications, using Rails migrations, designing syncing processes, maintaining connections, logging triggers, avoiding continuous trigger loops, and solving edge cases. Walk away with valuable resources and practical knowledge to enhance your Rails application's functionality and efficiency.

Syllabus

Intro
About Me
Main Players
Key Connections
PG Triggers
Define a Function
Apply Trigger Function
PG Notify and Listen
Broadcast a Notification
Listen for Notifications
Using Rails Migrations
Syncing Process Design
Maintaining a Connection
Logging Triggers
Avoiding Continuous Trigger Loops
Selving for Edge Cases
Resources


Taught by

Ruby Central

Related Courses

Mentorship in Three Acts
Ruby Central via YouTube
Taylor's Guide to Big Rewrites
Ruby Central via YouTube
Upgrading the Ruby Community
Ruby Central via YouTube
How We Implemented Internal Salary Transparency - And Why It Matters
Ruby Central via YouTube
Mentorship Panel
Ruby Central via YouTube