readyset
readyset copied to clipboard
Improve MySQL replication processing
Description
Our current MySQL replication flow can be improved to process replication events faster. I Propose we do the following:
- Group events from the same transaction and dispatch them as a batch to Readyset. Currently we read one event and dispatch a single event. We should take into consideration compressed events.
- Pass table_filter object to replicator and skip events as soon as we read them. Currently we build the whole
TableOperation
and only discard the event in the noria code.
Change in user-visible behavior
Requires documentation change