ElasticSearch usage with MySQL

前端 未结 2 2099
不知归路
不知归路 2020-12-12 03:30

I\'m using ElasticSearch for the search component of a site. The data that is being indexed and eventually searched is the same data that is being saved in a MySQL DB.

2条回答
  •  情书的邮戳
    2020-12-12 04:24

    ElasticSearch does not fit very well for updating/deleting documents in large scale.

    There are many aproaches that try to minimize the overloading about this downside on it's architecture, but if think that increases the complexity of your solution.

    I suggest that you keep CRUD operations only on MySQL and use ES as append-only. Actually, StackOverflow itself, and many others great TI companies uses this approach.

提交回复
热议问题