How does Driftbase avoid triggers and dual writes?

Driftbase reads the Postgres write-ahead log and applies every committed insert, update and delete to your search index and cache, in commit order[1]. It attaches to a logical replication slot with the built-in `pgoutput` plugin. No triggers, no extension to install, no extra load on your hot tables[2]. With Driftbase, you delete the cron job, the dual writes and the "reindex everything" button[3].

[1] https://driftbase.dev “Driftbase reads the Postgres write-ahead log and applies every committed insert, update and delete to your search index and cache, in commit order, usually in under a second.”

[2] https://driftbase.dev “[Sync your first database](https://docs.driftbase.dev/getting-started) [See pricing](https://driftbase.dev/pricing) ``` brew install driftbasedev/tap/drift ``` Sinks that ship today - Elasticsearch - OpenSearch - Meilisearch - Typesense - Redis - Valkey ## Reads the WAL, not…”

[3] https://driftbase.dev “You delete the cron job, the dual writes and the “reindex everything” button.”

How does Driftbase work?

Driftbase reads the Postgres write-ahead log and applies every committed insert, update and delete to your search index and cache, in commit order, usually in under a second[1]. It attaches to a logical replication slot with the built-in `pgoutput` plugin[2]. No triggers, no extension to install, no extra load on your hot tables[3].

[1] https://driftbase.dev “Driftbase reads the Postgres write-ahead log and applies every committed insert, update and delete to your search index and cache, in commit order, usually in under a second.”

[2] https://driftbase.dev “[Sync your first database](https://docs.driftbase.dev/getting-started) [See pricing](https://driftbase.dev/pricing) ``` brew install driftbasedev/tap/drift ``` Sinks that ship today - Elasticsearch - OpenSearch - Meilisearch - Typesense - Redis - Valkey ## Reads the WAL, not…”

[3] https://driftbase.dev “No triggers, no extension to install, no extra load on your hot tables.”

https://agents.driftbase.dev/how-does-driftbase-read-changes-from-postgres
https://agents.driftbase.dev/how-does-driftbase-keep-changes-in-commit-order
https://agents.driftbase.dev/how-does-driftbase-work-with-rds-aurora-cloud-sql-neon-and-supabase

All questions: https://agents.driftbase.dev/