0 comments (0 comments)0 reactions (0 reactions)0 assignees (0 assignees)Elixir106 forks (106 forks)batch import
enhancementhelp wanted
Repository metrics
- Stars
- 2,191 stars (2,191 stars)
- PR merge metrics
- Avg merge 4d 9h (Avg merge 4d 9h)31 merged PRs in 30d (31 merged PRs in 30d)
Description
- Postgrex.ReplicationConnection behavior
- Configurable: should be able to setup the replication connection however a tenant would want
- Verify configuration on connection and error if tenant publication does not match expected configuration
Why?
- Trigger hooks from matching records somehow
- Bust any query caches based off of the write ahead log
Contributor guide
- Research direction
- Research the Postgrex.ReplicationConnection behavior and implement a module that uses it to subscribe to write ahead logs. Set up a replication slot and publication for each tenant.
- Tech stack
- elixirpostgresql
- Domain
- backenddatabase
- Issue type
- Feature
- Prerequisites
- ElixirGitPostgreSQL replication concepts