Skip to content

Spike: Review options for replacing platform-plugin-aspects data sinks #444

Todo

Description

@bmtcril

We've long wanted to swap out the data sinks in platform-plugin-aspects due to how they can be slow, cause performance problems with Celery, or increase costs by needing to run more workers. We've looked at a few things over the years, but should really just pick one and get it done. Criteria are that the solution should be reliable, performant, well supported, and lightweight (ie no Kafka).

Here are the leading contenders that I know of, but feel free to consider others:

  1. PeerDB, self-hosted (open source, owned by ClickHouse). Same engine as their proprietary ClickPipes, with parallel initial load and resumable sync. However it needs Temporal, a Postgres catalog, and S3/MinIO staging.
  2. Altinity Sink Connector Lightweight. A single JVM process with Debezium embedded, so no broker. It stores offsets in ClickHouse, replicates DDL, and has decent latency. I found it immature and difficult to work with last time I tried, but that may have been 2 years ago now.
  3. mysql_ch_replicator (Python, pip-installable). A binlog reader built as a MaterializedMySQL replacement. It is the lightest to run and fits a Tutor plugin well, but it is a smaller project with less production track record.

The results of this spike should be a document recommending a technology choice, built on an actual proof-of-concept that is proven to work at scale. Preferably 2-3 options would be tested as Tutor plugins that we could experiment with.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions