4 ms·
If you need any kind of consistency guarantee, I think you would need to use some kind of distributed transactions. If its not, you could tail the MySQL log an
by sacheendra 10y ago
If you need any kind of consistency guarantee, I think you would need to use some kind of distributed transactions.
If its not, you could tail the MySQL log and have a process making the same changes to elasticsearch. The elasticsearch may lag behind if there are problems.