Quantcast
Channel: StackExchange Replication Questions
Viewing all articles
Browse latest Browse all 17268

Replication via Kafka vs. mysql events

$
0
0

I have a need to maintain a copy of an external database (including some additional derived data). With the same set of hardware, which one of the following solutions would give me faster consistency (low lag) with high availability? Assume updates to external database happen at 1000 records per second.

a) Create local mysql replica of an external db using mysql 5.7 replication (binary log file mechanism).

OR

b) Get real time Kafka events from external system, doing HTTP GET to fetch updated object details and use these details to maintain a local mysql replica.


Viewing all articles
Browse latest Browse all 17268

Trending Articles